diff options
| author | Ian Rogers <irogers@google.com> | 2026-03-19 16:33:49 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-03-26 15:03:47 -0700 |
| commit | 44311ae84ad9177fb311aee856027861c22f17b2 (patch) | |
| tree | 2e3c1414632284c8b4455573dbae505fa68af379 /include/net/phy/git@git.tavy.me:linux.git | |
| parent | cfaade34b52aa1ec553044255702c4b31b57c005 (diff) | |
perf stat: Fix opt->value type for parse_cache_level
Commit f5803651b4a4 ("perf stat: Choose the most disaggregate command
line option") changed aggregation option handling for `perf stat` but
not `perf stat report` leading to parse_cache_level being passed a
struct in the `perf stat` case but erroneously an aggr_mode enum value
for `perf stat report`. Change the `perf stat report` aggregation
handling to use the same opt_aggr_mode as `perf stat`. Also, just pass
the boolean for consistency with other boolean argument handling.
Fixes: f5803651b4a4 ("perf stat: Choose the most disaggregate command line option")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'include/net/phy/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
