qemu/docs
Stefan Hajnoczi 913540a376 trace: allow PRI*64 at beginning and ending of format string
The tracetool parser only picks up PRI*64 and other format string macros
when enclosed between double quoted strings.  Lift this restriction by
extracting everything after the closing ')' as the format string:

  cpu_set_apic_base(uint64_t val) "%016"PRIx64
                                  ^^        ^^

One trick here: it turns out that backslashes in the format string like
"\n" were being interpreted by echo(1).  Fix this by using the POSIX
printf(1) command instead.  Although it normally does not make sense to
include backslashes in trace event format strings, an injected newline
causes tracetool to emit a broken header file and I want to eliminate
cases where broken output is emitted, even if the input was bad.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2011-09-17 15:14:05 +00:00
..
specs docs: Describe zero data clusters in QED specification 2011-04-13 12:06:40 +02:00
blkverify.txt blkverify: Add block driver for verifying I/O 2010-09-21 17:00:53 +02:00
bootindex.txt Add boot index documentation. 2011-02-01 16:50:44 -06:00
ccid.txt ccid: add docs 2011-04-01 19:07:49 -05:00
ich9-ehci-uhci.cfg usb: update documentation 2011-07-08 11:25:56 +02:00
libcacard.txt libcacard: add docs 2011-04-01 19:07:49 -05:00
memory.txt memory: correct documentation typos 2011-08-12 08:31:30 -05:00
migration.txt docs: Improve documentation 2010-10-05 13:53:55 -05:00
qapi-code-gen.txt Fix spelling in comments and debug messages (recieve -> receive) 2011-08-29 11:47:33 +01:00
qdev-device-use.txt docs: Fix qdev-device-use.txt typo in -chardev serial, path=COM<NUM> 2011-09-09 09:43:17 +01:00
tracing.txt trace: allow PRI*64 at beginning and ending of format string 2011-09-17 15:14:05 +00:00
usb2.txt usb: update documentation 2011-07-08 11:25:56 +02:00