diff options
| author | Jiri Olsa <[email protected]> | 2013-12-03 13:09:39 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-12-04 18:37:24 +0000 |
| commit | 39956e78010645ee9d121e6a6eb6d9892e3fc92e (patch) | |
| tree | a5a18b4974c82f16995be2e9ab873ab594f51c16 /tools/perf/builtin-script.c | |
| parent | tools lib traceevent: Use pevent_print_func_field in hrtimer_start handler (diff) | |
| download | kernel-39956e78010645ee9d121e6a6eb6d9892e3fc92e.tar.gz kernel-39956e78010645ee9d121e6a6eb6d9892e3fc92e.zip | |
tools lib traceevent: Several cleanups for function plugin
Several cleanups suggested by Namhyung:
* Remove index field from struct func_stack as it's not needed.
* Rename get_index into add_and_get_index.
* Use '%*X' format string capability instead of the loop
Suggested-by: Namhyung Kim <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
