Tracepoint and TRACEPOINT_EVENT API cleanup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 May 2011 15:29:57 +0000 (11:29 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 May 2011 15:29:57 +0000 (11:29 -0400)
commit8161463975e218e0833d31ab1577a7ceb9e8e9f3
tree6e915e0629e732401446761743993e1849e10673
parent67a61c6786237e53ed7f0c7dce11b3a56a05364f
Tracepoint and TRACEPOINT_EVENT API cleanup

We want to move towards a TRACEPOINT_EVENT-based API only, so start
cleaning up right now.

Prefix with _ or __ all members that are internal to UST. Move all the
non-exported API members (that don't need to be around in program
inclusion) to tracepoint-internal.h (which is not meant to be installed
on the system).

Unit tests can still use the internal API members for now, but should
gradually move to use TRACEPOINT_EVENT as we start implementing the
FIELDS() declaration.

TRACEPOINT_EVENT is changed from the kernel incarnation (TRACE_EVENT):
we take only 3 arguments: proto, args and fields. The "fields" describe
the event layout _and_ targets the data source.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
17 files changed:
include/ust/define_trace.h
include/ust/tracepoint-internal.h [new file with mode: 0644]
include/ust/tracepoint.h
include/ust/ust_trace.h
libust/marker.c
libust/trace_event.c
libust/tracectl.c
libust/tracepoint.c
tests/hello/hello.c
tests/hello/tp.c
tests/hello/tp.h
tests/register_test/register_test.c
tests/register_test/tp.h
tests/trace_event/trace_event_test.c
tests/trace_event/trace_event_test.h
tests/tracepoint/benchmark/tracepoint_benchmark.c
tests/tracepoint/benchmark/tracepoint_benchmark.h
This page took 0.025177 seconds and 4 git commands to generate.