Re: [PATCH v2 1/3] MIPS: kernel: Support extracting off-line stack traces from user-space with perf

2021-02-04 Thread Thomas Bogendoerfer
On Thu, Feb 04, 2021 at 11:35:22AM +0800, Tiezhu Yang wrote: > Add perf_event_mips_regs/perf_reg_value/perf_reg_validate to support > features HAVE_PERF_REGS/HAVE_PERF_USER_STACK_DUMP in kernel. > > [a...@wavecomp.com: Repick this patch for unwinding userstack backtrace > by perf and libunwind

[PATCH v2 1/3] MIPS: kernel: Support extracting off-line stack traces from user-space with perf

2021-02-03 Thread Tiezhu Yang
Add perf_event_mips_regs/perf_reg_value/perf_reg_validate to support features HAVE_PERF_REGS/HAVE_PERF_USER_STACK_DUMP in kernel. [a...@wavecomp.com: Repick this patch for unwinding userstack backtrace by perf and libunwind on MIPS based CPU.] [r...@linux-mips.org: Add perf_get_regs_user()