linux/arch/riscv
Mao Han b399abe7c2 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>
2019-07-31 12:26:10 -07:00
..
boot riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver 2019-07-22 14:49:31 -07:00
configs riscv: defconfig: enable SOC_SIFIVE 2019-07-01 13:20:05 -07:00
include SPDX fixes for 5.3-rc2 2019-07-28 10:00:06 -07:00
kernel riscv: Fix perf record without libelf support 2019-07-31 12:26:10 -07:00
lib RISC-V patches for v5.2-rc6 2019-06-17 10:34:03 -07:00
mm RISC-V updates for v5.3 2019-07-18 12:26:59 -07:00
net bpf, riscv: Enable zext optimization for more RV64G ALU ops 2019-07-05 23:55:41 +02:00
Kconfig RISC-V updates for v5.3 2019-07-18 12:26:59 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: select SiFive platform drivers with SOC_SIFIVE 2019-07-01 13:20:01 -07:00
Makefile riscv: drop unneeded -Wall addition 2019-07-17 10:25:10 +09:00