function-graph: prevent more than one tracer registering
authorSteven Rostedt <srostedt@redhat.com>
Tue, 24 Mar 2009 04:18:31 +0000 (00:18 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 24 Mar 2009 13:32:52 +0000 (09:32 -0400)
commit05ce5818adee8f8efd0a5ca0d900a6789012516b
tree81c90288dd1da4291b5e3ee154756b2d7745c248
parent5d1a03dc541dc6672e60e57249ed22f40654ca47
function-graph: prevent more than one tracer registering

Impact: prevent crash due to multiple function graph tracers

The function graph tracer can currently only handle a single tracer
being registered. If another tracer registers with the function
graph tracer it can crash the system.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/ftrace.c