diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-09-25 11:20:54 -0700 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-10-03 03:04:58 +0200 |
commit | 88f70d7590538e427c8405a2e02ac2624847386c (patch) | |
tree | adfd71b017f169406ba696ea30658e3463639768 /Documentation/trace | |
parent | c0b11d3af164947c71e2491912c5b8418900dafb (diff) | |
download | op-kernel-dev-88f70d7590538e427c8405a2e02ac2624847386c.zip op-kernel-dev-88f70d7590538e427c8405a2e02ac2624847386c.tar.gz |
tracing/ftrace: Fix to check create_event_dir() when adding new events
Check result of event_create_dir() and add ftrace_event_call to
ftrace_events list only if it is succeeded. Thanks to Li for pointing
it out.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20090925182054.10157.55219.stgit@omoto>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions