aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorNikita Shubin <[email protected]>2022-06-28 14:45:55 +0300
committerWill Deacon <[email protected]>2022-07-06 11:06:24 +0100
commit26fabd6d2ffc2812138a613bec84ec72541842e7 (patch)
tree2ee64cc4cc7a2e6c7492cfa702def654493837ff /lib/mpi/mpi-sub-ui.c
parent0e35850b341e88055ca11cad74efa464b2159984 (diff)
drivers/perf: riscv_pmu_sbi: perf format
Update driver to export formatting and event information to sysfs so it can be used by the perf user space tools with the syntaxes: perf stat -e cpu/event=0x05 perf stat -e cpu/event=0x05,firmware=0x1/ 63-bit is used to distinguish hardware events from firmware. Firmware events are defined by "RISC-V Supervisor Binary Interface Specification". perf stat -e cpu/event=0x05,firmware=0x1/ is equivalent to perf stat -e r8000000000000005 Suggested-by: João Mário Domingos <[email protected]> Signed-off-by: Nikita Shubin <[email protected]> Link: https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/riscv-sbi.adoc Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions