Re: [PATCH 1/1] riscv: Fix perf record without libelf support

2019-07-25 Thread Paul Walmsley
On Thu, 11 Jul 2019, Mao Han wrote: > This patch fix following perf record error by linking vdso.so with > build id. > > perf.data perf.data.old > [ perf record: Woken up 1 times to write data ] > free(): double free detected in tcache 2 > Aborted > > perf record use filename__read_build_id

[PATCH 1/1] riscv: Fix perf record without libelf support

2019-07-10 Thread Mao Han
This patch fix following perf record error by linking vdso.so with build id. perf.data perf.data.old [ perf record: Woken up 1 times to write data ] free(): double free detected in tcache 2 Aborted perf record use filename__read_build_id(util/symbol-minimal.c) to get build id when libelf is