ftrace: show unlimited when traceon or traceoff has no counter
authorSteven Rostedt <srostedt@redhat.com>
Tue, 17 Feb 2009 18:12:12 +0000 (13:12 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 17 Feb 2009 18:12:12 +0000 (13:12 -0500)
commit35ebf1caa4854ad5ba25f3a72967acc064147994
tree6adc0e7db8cb16d18f3683bf729cf8261af93b1f
parent73d8b8bc4f24a97a406d09c8268ac019f4ac661e
ftrace: show unlimited when traceon or traceoff has no counter

Impact: clean up

The traceon and traceoff function probes are confusing to developers
to what happens when a counter is not specified. This should help
clear things up.

 # echo "*:traceoff" > set_ftrace_filter
 # cat /debug/tracing/set_ftrace_filter

  #### all functions enabled ####
  do_fork:traceoff:unlimited

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