diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-17 17:22:37 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-17 17:25:07 +0000 |
| commit | c02cab228e44aacf161642b63779971f8e39993b (patch) | |
| tree | 21bb482dcc116bbbf4a4f89826b39aeeedc78119 /tools/lib/api/fs/tracing_path.h | |
| parent | tools lib api fs tracing_path: Introduce get/put_events_file() helpers (diff) | |
| download | kernel-c02cab228e44aacf161642b63779971f8e39993b.tar.gz kernel-c02cab228e44aacf161642b63779971f8e39993b.zip | |
perf tools: Reuse the path to the tracepoint /events/ directory
When using for_each_event() we needlessly rebuild the whole path to
the tracepoint directory, reuse the dir_path instead, saving some cycles
and reducing the size of the next patch.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.h')
0 files changed, 0 insertions, 0 deletions
