update compat
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 11 Aug 2007 01:33:37 +0000 (01:33 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 11 Aug 2007 01:33:37 +0000 (01:33 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2589 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/doc/developer/lttng-format-string.txt [new file with mode: 0644]
ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html

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 (file)
index 0000000..d0580d5
--- /dev/null
@@ -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
+
+
+
+
index a7a4826a13831ec06a38ab1b95bd96ca13dd89d1..8505c73da04ae97bf5a4a84869ad9ace6911901c 100644 (file)
@@ -2295,6 +2295,7 @@ v850, xtensa.<br>
 0.38<br>
 0.39<br>
 0.40<br>
+0.43<br>
 </td>
 <td style="vertical-align: top;">
 obsolete<br>
@@ -2350,6 +2351,7 @@ sparc, sparc64.<br>
 <td style="vertical-align: top;">
 0.41<br>
 0.42<br>
+0.43<br>
 </td>
 <td style="vertical-align: top;">
 obsolete<br>
@@ -2373,7 +2375,7 @@ automake updates in LTTV and ltt-control.<br>
 format="" format strings support for XML descriptions.<br>
 LTTng 0.9.9 adds support for kernel 2.6.22-rc4-mm2.<br>
 LTTng 0.9.10 fixes a bug in i386 optimized immediate values.<br>
-ltt-control 0.42 fixes a bug with LTTng lseek event.<br>
+ltt-control 0.43 fixes a bug with LTTng lseek event.<br>
 </td>
 <td style="vertical-align: top;">
 </td>
@@ -2395,6 +2397,7 @@ sparc, sparc64.<br>
 <td style="vertical-align: top;">
 0.41<br>
 0.42<br>
+0.43<br>
 </td>
 <td style="vertical-align: top;">
 obsolete<br>
This page took 0.026858 seconds and 4 git commands to generate.