diff options
author | Li Zefan | 2009-05-08 10:31:42 +0800 |
---|---|---|
committer | Ingo Molnar | 2009-05-08 14:00:35 +0200 |
commit | 8f31bfe538ebafac187d2d4465a92e1d9ee6d8c2 (patch) | |
tree | 660b7340cadca779314e04b960618d7ac1c7d425 /Documentation/SELinux.txt | |
parent | 74f4fd21664148b8c454cc07bfe74e4dd51cf07b (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 <lizf@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A03998E.3020503@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/SELinux.txt')
0 files changed, 0 insertions, 0 deletions