Tracepoint API change: combine TP_PROTO and TP_VARS into TP_ARGS, remove _NOARGS...
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Nov 2011 19:07:57 +0000 (14:07 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Nov 2011 19:07:57 +0000 (14:07 -0500)
commit63ef26930fe613a266cc69f5089cf643dd59b012
treea31d83a4a33b5aea02eebc249c323115a82c9eee
parent34a4456df042c41180bb42e468f6d4ab4bfcbced
Tracepoint API change: combine TP_PROTO and TP_VARS into TP_ARGS, remove _NOARGS macros

New API for tracepoints, combining the TP_PROTO and TP_VARS arguments
into a single "TP_ARGS" macro. It takes up to 10 parameters (from 0 to
10). The "_NOARGS" special-case is not needed anymore: it can be
achieved simply by passing an empty TP_ARGS:

  TP_ARGS(),

to the standard tracepoint event declarations.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint-event.h
include/lttng/tracepoint.h
include/lttng/ust-tracepoint-event-reset.h
include/lttng/ust-tracepoint-event.h
liblttng-ust/probes/lttng-probe-ust.h
tests/fork/ust_tests_fork.h
tests/hello/ust_tests_hello.h
This page took 0.027462 seconds and 5 git commands to generate.