diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-05-09 19:00:07 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-05-10 00:14:49 (GMT) |
commit | da511bf33e47ea1f33f4b672f7da166d2a1b8a91 (patch) | |
tree | 3e514023cb9fd7f91c54e0b952ee5c47b76b945a /kernel/acct.c | |
parent | 1cf4c0732db3cd3c49cadbc60ff6bda08604e6fa (diff) | |
download | linux-da511bf33e47ea1f33f4b672f7da166d2a1b8a91.tar.xz |
tracing: Add helper function trace_create_new_event() to remove duplicate code
Both __trace_add_new_event() and __trace_early_add_new_event() do
basically the same thing, except that __trace_add_new_event() does
a little more.
Instead of having duplicate code between the two functions, add
a helper function trace_create_new_event() that both can use.
This will help against having bugs fixed in one function but not
the other.
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions