diff options
| author | Namhyung Kim <[email protected]> | 2022-11-07 21:33:13 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-11-14 16:21:19 +0000 |
| commit | f1db5a1d1d4de248534567fd95efa570bc693f73 (patch) | |
| tree | 4a95dddd783cee8985528ecc08129d0bf9e742cf /tools/lib/api/fs/tracing_path.c | |
| parent | perf stat: Add header for interval in JSON output (diff) | |
| download | kernel-f1db5a1d1d4de248534567fd95efa570bc693f73.tar.gz kernel-f1db5a1d1d4de248534567fd95efa570bc693f73.zip | |
perf stat: Fix condition in print_interval()
The num_print_interval and config->interval_clear should be checked
together like other places like later in the function. Otherwise,
the --interval-clear option could print the headers for the CSV or
JSON output unnecessarily.
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
