Re: [PATCH v1 1/2] perf machine: Factor creating a "live" machine out of dwarf-unwind
From: Arnaldo Carvalho de Melo
Date: Fri Mar 14 2025 - 13:18:58 EST
On Wed, Mar 12, 2025 at 10:29:51PM -0700, Ian Rogers wrote:
> Factor out for use in places other than the dwarf unwinding tests for
> libunwind.
Testing with another patchset being reviewed/tested, seems to work, if
it showed the line number would be even better!
I'll continue working on that other case with this applied just before
that series and finally will give my Tested-by.
- Arnaldo
root@number:~# perf trace -e landlock_add_rule perf test -w landlock
perf: Segmentation fault
#0 0x5be81d in dump_stack perf[5be81d]
#1 0x5be879 in sighandler_dump_stack perf[5be879]
#2 0x7f313d24efd0 in __restore_rt libc.so.6[40fd0]
#3 0x491bc1 in cmd_trace perf[491bc1]
#4 0x497090 in run_builtin perf.c:0
#5 0x4973ab in handle_internal_command perf.c:0
#6 0x413483 in main perf[413483]
#7 0x7f313d238088 in __libc_start_call_main libc.so.6[2a088]
#8 0x7f313d23814b in __libc_start_main@@GLIBC_2.34 libc.so.6[2a14b]
#9 0x413ad5 in _start perf[413ad5]
Segmentation fault (core dumped)
root@number:~#