diff options
| author | Stefan Hajnoczi | 2014-05-07 19:24:11 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-09 15:43:40 +0200 |
| commit | 80ff35cd3ff451e8f200413ddf27816058630c1f (patch) | |
| tree | 227937517413877f448e7ed1697c903b656598af /scripts/checkpatch.pl | |
| parent | trace: add pid field to simpletrace record (diff) | |
| download | qemu-80ff35cd3ff451e8f200413ddf27816058630c1f.tar.gz qemu-80ff35cd3ff451e8f200413ddf27816058630c1f.tar.xz qemu-80ff35cd3ff451e8f200413ddf27816058630c1f.zip | |
simpletrace: add support for trace record pid field
Extract the pid field from the trace record and print it.
Change the trace record tuple from:
(event_num, timestamp, arg1, ..., arg6)
to:
(event_num, timestamp, pid, arg1, ..., arg6)
Trace event methods now support 3 prototypes:
1. <event-name>(arg1, arg2, arg3)
2. <event-name>(timestamp, arg1, arg2, arg3)
3. <event-name>(timestamp, pid, arg1, arg2, arg3)
Existing script continue to work without changes, they only know about
prototypes 1 and 2.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
