aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2024-03-12 01:20:53 +0000
committerPalmer Dabbelt <palmer@rivosinc.com>2024-03-26 14:09:18 -0700
commitea6873118493019474abbf57d5a800da365734df (patch)
treee9f7091a893941b07b47c536ff37bcc58a43ce1a /scripts/gdb/linux/utils.py
parentriscv: compat_vdso: install compat_vdso.so.dbg to /lib/modules/*/vdso/ (diff)
downloadlinux-rng-ea6873118493019474abbf57d5a800da365734df.tar.xz
linux-rng-ea6873118493019474abbf57d5a800da365734df.zip
drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported
RISC-V perf driver does not yet support branch sampling. Although the specification is in the works [0], it is best to disable such events until support is available, otherwise we will get unexpected results. Due to this reason, two riscv bpf testcases get_branch_snapshot and perf_branches/perf_branches_hw fail. Link: https://github.com/riscv/riscv-control-transfer-records [0] Fixes: f5bfa23f576f ("RISC-V: Add a perf core library for pmu drivers") Signed-off-by: Pu Lehui <pulehui@huawei.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240312012053.1178140-1-pulehui@huaweicloud.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions