diff options
author | Mathieu Desnoyers <[email protected]> | 2010-04-30 12:59:59 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2010-05-14 09:34:26 -0400 |
commit | 53da59aa6dd881fd0bbdd058a8a299d90ce9dd1d (patch) | |
tree | 53b68f57d815025ee6f97900544b4cfecca0d78d /tools/perf/scripts/python | |
parent | 8f0820183056ad26dabc0202115848a92f1143fc (diff) |
tracepoints: Add check trace callback type
This check is meant to be used by tracepoint users which do a direct cast of
callbacks to (void *) for direct registration, thus bypassing the
register_trace_##name and unregister_trace_##name checks.
This permits to ensure that the callback type matches the function type at the
call site, but without generating any code.
Acked-by: Masami Hiramatsu <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Mathieu Desnoyers <[email protected]>
LKML-Reference: <20100430165959.GA25605@Krystal>
CC: Ingo Molnar <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Peter Zijlstra <[email protected]>
CC: Arnaldo Carvalho de Melo <[email protected]>
CC: Lai Jiangshan <[email protected]>
CC: Li Zefan <[email protected]>
CC: Christoph Hellwig <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions