Tracepoints: add wrapper tracepoint() macro
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Apr 2011 17:59:16 +0000 (13:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Apr 2011 17:59:16 +0000 (13:59 -0400)
commitcc7b66ba103c213a84159c2128cd4096507bdd2b
tree47e572ec0c5e8afca3dee07bfb454cf4d888c9ac
parent686debc34cf055ffcb1f98a06df9fbaf27eeb441
Tracepoints: add wrapper tracepoint() macro

** Instrumentation API change **

Moving tracepoints from

trace_name(args)
register_trace_name(...)
unregister_trace_name(...)

to

tracepoint(name, args)
register_tracepoint(name, ...)
unregister_tracepoint(name, ...)

This will allow doing macro tricks at the "tracepoint()" macro expansion
site. This will be useful for integration with SystemTAP probes, which
needs to expand an inline assembly with constraints on the arguments.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Nils Carlson <nils.carlson@ericsson.com>
CC: Steven Rostedt <srostedt@redhat.com>
CC: Josh Stone <jistone@redhat.com>
include/ust/tracepoint.h
include/ust/ust_trace.h
tests/hello/hello.c
tests/hello/tp.c
tests/register_test/register_test.c
tests/trace_event/trace_event_test.c
tests/tracepoint/benchmark/tracepoint_benchmark.c
tests/tracepoint/tracepoint_test.c
This page took 0.025754 seconds and 4 git commands to generate.