diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-14 19:04:24 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-16 22:50:04 -0500 |
commit | 23b4ff3aa479c9e3bb23cb6b2d0a97878399784a (patch) | |
tree | ba446de609489d91303e6bdafd5168463100417a /fs/romfs | |
parent | 988ae9d6b2bc3ebdc1a488490250a6812f85e9d4 (diff) |
ftrace: add traceon traceoff commands to enable/disable the buffers
This patch adds the new function selection commands traceon and
traceoff. traceon sets the function to enable the ring buffers
while traceoff disables the ring buffers. You can pass in the
number of times you want the command to be executed when the function
is hit. It will only execute if the state of the buffers are not
already in that state.
Example:
# echo do_fork:traceon:4
Will enable the ring buffers if they are disabled every time it
hits do_fork, up to 4 times.
# echo sys_close:traceoff
This will disable the ring buffers every time (unlimited) when
sys_close is called.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions