summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_clock.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-05-09 19:00:07 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2013-05-10 00:14:49 (GMT)
commitda511bf33e47ea1f33f4b672f7da166d2a1b8a91 (patch)
tree3e514023cb9fd7f91c54e0b952ee5c47b76b945a /kernel/trace/trace_clock.c
parent1cf4c0732db3cd3c49cadbc60ff6bda08604e6fa (diff)
downloadlinux-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/trace/trace_clock.c')
0 files changed, 0 insertions, 0 deletions