aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2009-05-08 10:31:42 +0800
committerIngo Molnar <[email protected]>2009-05-08 14:00:35 +0200
commit8f31bfe538ebafac187d2d4465a92e1d9ee6d8c2 (patch)
tree660b7340cadca779314e04b960618d7ac1c7d425 /include/linux/debugobjects.h
parent74f4fd21664148b8c454cc07bfe74e4dd51cf07b (diff)
tracing/events: clean up for ftrace_set_clr_event()
Add a helper function __ftrace_set_clr_event(), and replace some ftrace_set_clr_event() calls with this helper, thus we don't need any kstrdup() or kmalloc(). As a side effect, this patch fixes an issue in self tests code, which is similar to the one fixed in commit d6bf81ef0f7474434c2a049e8bf3c9146a14dd96 ("tracing: append ":*" to internal setting of system events") It's a small issue and won't cause any bug in fact, but we should do things right anyway. [ Impact: prevent spurious event-enabling in tracing self-tests ] Signed-off-by: Li Zefan <[email protected]> Acked-by: Steven Rostedt <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions