diff options
author | 2025-03-10 15:49:21 -0700 | |
---|---|---|
committer | 2025-03-13 00:19:51 -0700 | |
commit | 9aa3cbbffb166ffac6b276c00a6a991dc8de2f17 (patch) | |
tree | ae80c1d76fc556a9ed2ffff1f19540d2f05348b4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf annotate: Remove unused len parameter from annotation_line__print() (diff) | |
download | wireguard-linux-9aa3cbbffb166ffac6b276c00a6a991dc8de2f17.tar.xz wireguard-linux-9aa3cbbffb166ffac6b276c00a6a991dc8de2f17.zip |
perf annotate: Pass annotation_options to annotation_line__print()
The annotation_line__print() has many arguments. But min_percent,
max_lines and percent_type are from struct annotaion_options. So let's
pass a pointer to the option instead of passing them separately to
reduce the number of function arguments.
Actually it has a recursive call if 'queue' is set. Add a new option
instance to pass different values for the case.
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250310224925.799005-4-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions