aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2013-05-09 15:00:07 -0400
committerSteven Rostedt <[email protected]>2013-05-09 20:14:49 -0400
commitda511bf33e47ea1f33f4b672f7da166d2a1b8a91 (patch)
tree3e514023cb9fd7f91c54e0b952ee5c47b76b945a /tools/perf/scripts
parent1cf4c0732db3cd3c49cadbc60ff6bda08604e6fa (diff)
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 <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions