Messages in this thread Patch in this message | | | Date | Tue, 15 Nov 2022 23:12:56 -0800 | Subject | [PATCH v1 1/4] perf list: Fix asan issue | From | Ian Rogers <> |
| |
Missed due to the void* being a valid cast.
Fixes: c9367a0658eb ("perf list: Add JSON output option") Signed-off-by: Ian Rogers <irogers@google.com> --- tools/perf/builtin-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/builtin-list.c b/tools/perf/builtin-list.c index aec139f7fbb2..0450fbfd0a5c 100644 --- a/tools/perf/builtin-list.c +++ b/tools/perf/builtin-list.c @@ -466,7 +466,7 @@ int cmd_list(int argc, const char **argv) pr_warning("WARNING: hybrid cputype is not supported!\n"); } } - print_cb.print_start(&ps); + print_cb.print_start(ps); if (argc == 0) { default_ps.metrics = true; -- 2.38.1.431.g37b22c650d-goog
| |