diff options
| author | Frederic Weisbecker <[email protected]> | 2010-11-18 00:46:57 +0000 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2010-11-18 13:37:42 +0000 |
| commit | 1ed0c5971159974185653170543a764cc061c857 (patch) | |
| tree | 5887072ddc1c87776886c9a1b6ef61836f1ae925 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | tracing: New flag to allow non privileged users to use a trace event (diff) | |
| download | kernel-1ed0c5971159974185653170543a764cc061c857.tar.gz kernel-1ed0c5971159974185653170543a764cc061c857.zip | |
tracing: New macro to set up initial event flags value
This introduces the new TRACE_EVENT_FLAGS() macro in order
to set up initial event flags value.
This macro must simply follow the definition of a trace event
and take the event name and the flag value as parameters:
TRACE_EVENT(my_event, .....
....
);
TRACE_EVENT_FLAGS(my_event, 1)
This will set up 1 as the initial my_event->flags value.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Jason Baron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions
