[RFC PATCH v1 7/7] perf unwind-libunwind: Add RISC-V libunwind support

Andrew Jones andrew.jones at oss.qualcomm.com
Wed Feb 25 13:08:54 PST 2026


On Tue, Feb 24, 2026 at 06:29:37AM -0800, Ian Rogers wrote:
...
> +struct unwind_info *__libunwind_arch_unwind_info__new_riscv(struct thread *thread __maybe_unused,
> +							     struct perf_sample *sample  __maybe_unused,
> +							     int max_stack __maybe_unused,
> +							     bool best_effort  __maybe_unused,
> +							     uint64_t first_ip  __maybe_unused)
> +{
> +#ifdef HAVE_LIBUNWIND_RISCV_SUPPORT
> +	struct x86_64_unwind_info {
               ^ copy+paste issue?

Thanks,
drew



More information about the linux-arm-kernel mailing list