qemu-e2k/scripts/tracetool/format
Stefan Hajnoczi 0b7e89b103 trace: add DTrace reserved words for .d files
DTrace on Mac OS X fails due to trace events using 'self' as an argument
name:

  GEN   trace/generated-tracers-dtrace.h
dtrace: failed to compile script trace/generated-tracers-dtrace.dtrace: line 1330: syntax error, unexpected DT_KEY_SELF, expecting ) near "self"
make: *** [trace/generated-tracers-dtrace.h] Error 1

Filter argument names according to the list of DTrace .d file reserved
keywords.

Note that DTrace on Mac and Linux still do not work after this patch.
There are additional build issues remaining.

Reported-by: Henk Poley <henkpoley@gmail.com>
Tested-by: Henk Poley <henkpoley@gmail.com>
Cc: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-03-02 15:39:43 -06:00
..
__init__.py trace: [tracetool] Minimize the amount of per-backend code 2014-05-07 19:07:18 +02:00
c.py trace: [tracetool] Minimize the amount of per-backend code 2014-05-07 19:07:18 +02:00
d.py trace: add DTrace reserved words for .d files 2015-03-02 15:39:43 -06:00
events_c.py trace: [tracetool] Minimize the amount of per-backend code 2014-05-07 19:07:18 +02:00
events_h.py trace: [tcg] Add 'tcg' event property 2014-08-12 14:26:11 +01:00
h.py trace: [tracetool] Minimize the amount of per-backend code 2014-05-07 19:07:18 +02:00
simpletrace_stap.py trace: add tracetool simpletrace_stap format 2014-08-12 14:26:11 +01:00
stap.py trace: extract stap_escape() function for reuse 2014-08-12 14:26:11 +01:00
tcg_h.py trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
tcg_helper_c.py trace: [tcg] Define TCG tracing helper routines 2014-08-12 14:26:12 +01:00
tcg_helper_h.py trace: [tcg] Declare TCG tracing helper routines 2014-08-12 14:26:12 +01:00
tcg_helper_wrapper_h.py trace: [tcg] Define TCG tracing helper routine wrappers 2014-08-12 14:26:12 +01:00
ust_events_c.py trace: [tracetool] Minimize the amount of per-backend code 2014-05-07 19:07:18 +02:00
ust_events_h.py trace: [ust] Fix format string computation in tcg-enabled events 2014-09-26 09:34:38 +01:00