From: Mathieu Desnoyers Date: Thu, 19 May 2011 15:29:57 +0000 (-0400) Subject: Tracepoint and TRACEPOINT_EVENT API cleanup X-Git-Tag: v0.14~20 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=8161463975e218e0833d31ab1577a7ceb9e8e9f3;hp=8161463975e218e0833d31ab1577a7ceb9e8e9f3;p=ust.git 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 ---