commit | 696aba07460ac1f370bb931626d4a4b4cf9cd387 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Thu Feb 27 13:14:57 2025 -0800 |
committer | Namhyung Kim <namhyung@kernel.org> | Mon Mar 03 08:58:37 2025 -0800 |
tree | a9b2ed4f3f8c1fea4ca08b06f824294e07309630 | |
parent | 2b15a9e998d976d6745248c2e4a5d9e2d29a407a [diff] |
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. Signed-off-by: Namhyung Kim <namhyung@kernel.org>