diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2010-04-30 18:59:59 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-05-14 15:34:26 +0200 |
commit | 53da59aa6dd881fd0bbdd058a8a299d90ce9dd1d (patch) | |
tree | 53b68f57d815025ee6f97900544b4cfecca0d78d /Documentation/DMA-API.txt | |
parent | tracing: Create class struct for events (diff) | |
download | linux-53da59aa6dd881fd0bbdd058a8a299d90ce9dd1d.tar.xz linux-53da59aa6dd881fd0bbdd058a8a299d90ce9dd1d.zip |
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 <mhiramat@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
LKML-Reference: <20100430165959.GA25605@Krystal>
CC: Ingo Molnar <mingo@elte.hu>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Arnaldo Carvalho de Melo <acme@redhat.com>
CC: Lai Jiangshan <laijs@cn.fujitsu.com>
CC: Li Zefan <lizf@cn.fujitsu.com>
CC: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/DMA-API.txt')
0 files changed, 0 insertions, 0 deletions