]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf tools: Fix compile error on sample->user_regs
authorNamhyung Kim <namhyung@kernel.org>
Fri, 14 Feb 2025 19:16:41 +0000 (11:16 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 14 Feb 2025 20:33:41 +0000 (12:33 -0800)
commit20600b8aab734877740d5292c0cdd5ccb6c7beb7
tree94d871f1bdcc3a63de11ab7152f8f44bf5be1ada
parentd18c882f85745f3c622e74b93151514b745de2ca
perf tools: Fix compile error on sample->user_regs

It's recently changed to allocate dynamically but misses to update some
arch-dependent codes to use perf_sample__user_regs().

Fixes: dc6d2bc2d893a878 ("perf sample: Make user_regs and intr_regs optional")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250214191641.756664-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/arch/arm/tests/dwarf-unwind.c
tools/perf/arch/arm/util/unwind-libdw.c
tools/perf/arch/csky/util/unwind-libdw.c
tools/perf/arch/loongarch/util/unwind-libdw.c
tools/perf/arch/powerpc/tests/dwarf-unwind.c
tools/perf/arch/powerpc/util/unwind-libdw.c
tools/perf/arch/riscv/util/unwind-libdw.c
tools/perf/arch/s390/util/unwind-libdw.c