Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [PATCH v4] perf data convert: Fix segfault when converting to json when cpu_desc isn't set | Date | Tue, 27 Feb 2024 09:25:20 -0800 |
| |
On Fri, 23 Feb 2024 14:04:58 -0800, Ilkka Koskinen wrote: > Arm64 doesn't have Model in /proc/cpuinfo and, thus, cpu_desc doesn't get > assigned. > > Running > $ perf data convert --to-json perf.data.json > > ends up calling output_json_string() with NULL pointer, which causes a > segmentation fault. > > [...]
Applied to perf-tools-next, thanks!
Best regards, -- Namhyung Kim <namhyung@kernel.org>
| |