summaryrefslogtreecommitdiffstats
path: root/include/linux/tracepoint.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-11-14 17:47:45 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-16 09:01:34 +0100
commit5f382671def7cb9c0f4b75d586dc5f60dca5e1c3 (patch)
treeee90d469b24a893c8ec777775a43d41cdfb6f76f /include/linux/tracepoint.h
parentc420970ef476d7d68df119711700666224001f43 (diff)
downloadkernel-crypto-5f382671def7cb9c0f4b75d586dc5f60dca5e1c3.tar.gz
kernel-crypto-5f382671def7cb9c0f4b75d586dc5f60dca5e1c3.tar.xz
kernel-crypto-5f382671def7cb9c0f4b75d586dc5f60dca5e1c3.zip
tracepoints: do not put arguments in name
Impact: cleanup That's overkill, takes space. We have a global tracepoint registery in header files anyway. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r--include/linux/tracepoint.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index c60a791f887..7e9b42aeae0 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -60,7 +60,7 @@ struct tracepoint {
{ \
static const char __tpstrtab_##name[] \
__attribute__((section("__tracepoints_strings"))) \
- = #name ":" #proto; \
+ = #name; \
static struct tracepoint __tracepoint_##name \
__attribute__((section("__tracepoints"), aligned(8))) = \
{ __tpstrtab_##name, 0, NULL }; \
@@ -70,13 +70,11 @@ struct tracepoint {
} \
static inline int register_trace_##name(void (*probe)(proto)) \
{ \
- return tracepoint_probe_register(#name ":" #proto, \
- (void *)probe); \
+ return tracepoint_probe_register(#name, (void *)probe); \
} \
static inline int unregister_trace_##name(void (*probe)(proto)) \
{ \
- return tracepoint_probe_unregister(#name ":" #proto, \
- (void *)probe); \
+ return tracepoint_probe_unregister(#name, (void *)probe);\
}
extern void tracepoint_update_probe_range(struct tracepoint *begin,