diff options
author | 2024-06-07 13:29:17 -0700 | |
---|---|---|
committer | 2024-06-15 21:04:04 -0700 | |
commit | 411ee13598ef322c1a7f4a4022a84d995873f235 (patch) | |
tree | c6396fe88e9e6036cd00760dc406429b2572ab80 /tools/perf/builtin-annotate.c | |
parent | perf hist: Simplify __hpp_fmt() using hpp_fmt_data (diff) | |
download | linux-rng-411ee13598ef322c1a7f4a4022a84d995873f235.tar.xz linux-rng-411ee13598ef322c1a7f4a4022a84d995873f235.zip |
perf hist: Add symbol_conf.skip_empty
Add the skip_empty flag to symbol_conf and set the value from the report
command to preserve the existing behavior. This makes the code simpler
and will be needed other code which is hard to add a new argument.
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240607202918.2357459-4-namhyung@kernel.org
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 50d2fb222d48..b10b7f005658 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -571,8 +571,8 @@ static int __cmd_annotate(struct perf_annotate *ann) goto out; if (dump_trace) { - perf_session__fprintf_nr_events(session, stdout, false); - evlist__fprintf_nr_events(session->evlist, stdout, false); + perf_session__fprintf_nr_events(session, stdout); + evlist__fprintf_nr_events(session->evlist, stdout); goto out; } |