aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2025-03-10 22:49:21 +0000
committerNamhyung Kim <[email protected]>2025-03-13 07:19:51 +0000
commit9aa3cbbffb166ffac6b276c00a6a991dc8de2f17 (patch)
treeae80c1d76fc556a9ed2ffff1f19540d2f05348b4 /tools/perf/builtin-annotate.c
parentperf annotate: Remove unused len parameter from annotation_line__print() (diff)
downloadkernel-9aa3cbbffb166ffac6b276c00a6a991dc8de2f17.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions