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

Andrew Jones
2026-02-25T21:08:59Z

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