From: compudj Date: Sat, 11 Aug 2007 01:33:37 +0000 (+0000) Subject: update compat X-Git-Tag: v0.12.20~900 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6ca3a2919fda666cde9e372408f8494d7f30d647;p=lttv.git update compat git-svn-id: http://ltt.polymtl.ca/svn@2589 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/doc/developer/lttng-format-string.txt b/ltt/branches/poly/doc/developer/lttng-format-string.txt new file mode 100644 index 00000000..d0580d58 --- /dev/null +++ b/ltt/branches/poly/doc/developer/lttng-format-string.txt @@ -0,0 +1,37 @@ + +LTTng format string parsing +July 26, 2007 + +"%lu" +"#4b%u" +"#lu%u" (no sign extension) +"#ld%c" (sign extension) +"#lld%p" (sign extension) + +Parsing: + +When # is encountered + Deal with ## case (escaped) + Read length modifier + gcc-like + trace specific : 1, 2, 4, 8, n, b + in both cases, save the output type size (1, 2, 4, 8). + Read conversion specifier + save the output type size if no length modifier is involved (1, 2, 4, 8). + save the signedness. + +(vsnprintf-like part) +When % is encountered + Deal with %% case (escaped) + (deal with field width, precision. Skip them.) + Read length modifier + if output type size is 0, set it to the gcc type size. + Read conversion specifier + if output type size is 0, set it to the gcc type size if no length modifier + is involved. + Perform trace write with conversion. + Reset output type size to 0 + + + + diff --git a/ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html b/ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html index a7a4826a..8505c73d 100644 --- a/ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html +++ b/ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html @@ -2295,6 +2295,7 @@ v850, xtensa.
0.38
0.39
0.40
+0.43
obsolete
@@ -2350,6 +2351,7 @@ sparc, sparc64.
0.41
0.42
+0.43
obsolete
@@ -2373,7 +2375,7 @@ automake updates in LTTV and ltt-control.
format="" format strings support for XML descriptions.
LTTng 0.9.9 adds support for kernel 2.6.22-rc4-mm2.
LTTng 0.9.10 fixes a bug in i386 optimized immediate values.
-ltt-control 0.42 fixes a bug with LTTng lseek event.
+ltt-control 0.43 fixes a bug with LTTng lseek event.
@@ -2395,6 +2397,7 @@ sparc, sparc64.
0.41
0.42
+0.43
obsolete