aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/tracing_path.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-05-17 14:22:37 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-05-17 14:25:07 -0300
commitc02cab228e44aacf161642b63779971f8e39993b (patch)
tree21bb482dcc116bbbf4a4f89826b39aeeedc78119 /tools/lib/api/fs/tracing_path.c
parent40c3c0c9ac2befd28df3844dc9efdbadee3af5c0 (diff)
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.c')
0 files changed, 0 insertions, 0 deletions