ftrace: ensure every event gets an id
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 19 Mar 2009 19:26:14 +0000 (20:26 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Mar 2009 09:17:06 +0000 (10:17 +0100)
commit28bea271e58e429eccfad3d7ee2ad12d6ee015bf
tree00b5cf70bf147e7fad3b438835d21b093a2b9c28
parent23725aeeab10ba02bcf10ec49ad73146b54cb52f
ftrace: ensure every event gets an id

Impact: widen user-space visibe event IDs to all events

Previously only TRACE_EVENT events got ids, because only they
generated raw output which needs to be demuxed from the trace.

In order to provide a unique ID for each event, register everybody,
regardless.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20090319194233.464914218@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_events_stage_3.h
kernel/trace/trace_output.c