From: Mathieu Desnoyers Date: Fri, 14 Nov 2008 22:47:47 +0000 (-0500) Subject: tracepoints: add DECLARE_TRACE() and DEFINE_TRACE() X-Git-Tag: v2.6.29-rc1~586^2~58^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e066fb870fcd1025ec3ba7bbde5d541094f4ce1;p=pandora-kernel.git tracepoints: add DECLARE_TRACE() and DEFINE_TRACE() Impact: API *CHANGE*. Must update all tracepoint users. Add DEFINE_TRACE() to tracepoints to let them declare the tracepoint structure in a single spot for all the kernel. It helps reducing memory consumption, especially when declaring a lot of tracepoints, e.g. for kmalloc tracing. *API CHANGE WARNING*: now, DECLARE_TRACE() must be used in headers for tracepoint declarations rather than DEFINE_TRACE(). This is the sane way to do it. The name previously used was misleading. Updates scheduler instrumentation to follow this API change. Signed-off-by: Mathieu Desnoyers Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed