[PATCH] tools/perf: Fix addr location init during arch_skip_callchain_idx function

2023-07-24 Thread Athira Rajeev
perf record with callchain recording fails as below in powerpc: ./perf record -a -gR sleep 10 ./perf report perf: Segmentation fault gdb trace points to thread__find_map 0 0x101df314 in atomic_cmpxchg (newval=1818846826, oldval=1818846827, v=0x1001a8f3) at /home/athira

Re: [PATCH] tools/perf: Fix addr location init during arch_skip_callchain_idx function

2023-07-24 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 24, 2023 at 10:28:15PM +0530, Athira Rajeev escreveu: > perf record with callchain recording fails as below > in powerpc: > > ./perf record -a -gR sleep 10 > ./perf report > perf: Segmentation fault > > gdb trace points to thread__find_map > > 0 0x101df314 in

Re: [PATCH] tools/perf: Fix addr location init during arch_skip_callchain_idx function

2023-07-25 Thread Athira Rajeev
> On 25-Jul-2023, at 2:33 AM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jul 24, 2023 at 10:28:15PM +0530, Athira Rajeev escreveu: >> perf record with callchain recording fails as below >> in powerpc: >> >> ./perf record -a -gR sleep 10 >> ./perf report >> perf: Segmentation fault >>