From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Sat, 12 Nov 2011 13:13:04 -0500 Subject: [ltt-dev] LTTng-UST tracepoint API updates Message-ID: <20111112181304.GA22268@Krystal> Hi, I introduced the following API changes for LTTng-UST, after receiving very appropriate feedback: Tracepoint API change: rename TRACEPOINT_SYSTEM to TRACEPOINT_PROVIDER Eliminates the confusion between the first TRACEPOINT_EVENT "provider" argument and the "TRACEPOINT_SYSTEM", which need to be the same thing. and made sure TRACEPOINT_PROVIDER always match TRACEPOINT_SYSTEM by adding a compiler warning: Tracepoints: add provider mismatch check Finally, rename TP_ARGS to TP_VARS, in preparation for combining TP_PROTO and TP_ARGS: tracepoint API change: rename TP_ARGS to TP_VARS In preparation of folding of both TP_PROTO and TP_ARGS into TP_ARGS. Hopefully I'll succeed to getting both TP_PROTO and TP_VARS combined into TP_ARGS, but even if this does not work out, TP_VARS seems much more appropriate than TP_ARGS here. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com