aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracing_path.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-11-07 21:33:14 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-11-14 16:21:19 +0000
commit20e2e31779377b36ada04c06d572ce0b4e234bb1 (patch)
tree4eb5daefcaf266ec7f51d7e5196494bb5331359b /tools/lib/api/fs/tracing_path.c
parentperf stat: Fix condition in print_interval() (diff)
downloadkernel-20e2e31779377b36ada04c06d572ce0b4e234bb1.tar.gz
kernel-20e2e31779377b36ada04c06d572ce0b4e234bb1.zip
perf stat: Consolidate condition to print metrics
The pm variable holds an appropriate function to print metrics for CSV anf JSON already. So we can combine the if statement to simplify the code a little bit. This also matches to the above condition for non-CSV and non-JSON case. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[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