summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
diff options
context:
space:
mode:
authorMao Han <han_mao@c-sky.com>2019-07-11 05:38:40 +0300
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-31 22:26:10 +0300
commitb399abe7c21e248dc6224cadc9a378a2beb10cfd (patch)
treecb747e3d9ad777a4fa9a027368da790b7ac498b8 /arch/riscv/boot/dts/sifive/fu540-c000.dtsi
parent609488bc979f99f805f34e9a32c1e3b71179d10b (diff)
downloadlinux-b399abe7c21e248dc6224cadc9a378a2beb10cfd.tar.xz
riscv: Fix perf record without libelf support
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 not supported. When vdso.so is linked without build id, the section size of PT_NOTE will be zero, buf size will realloc to zero and cause memory corruption. Signed-off-by: Mao Han <han_mao@c-sky.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Palmer Dabbelt <palmer@sifive.com> Cc: Albert Ou <aou@eecs.berkeley.edu> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/boot/dts/sifive/fu540-c000.dtsi')
0 files changed, 0 insertions, 0 deletions