~/talk

Perf feature improvements in RISCV

links:none on file
slides:none on file

RISC-V perf currently relies on esop_pmf and SBI PMU with firmware-provided event-to-counter maps but new ISA extensions add counter delegation allowing S-mode access to counters; patches and a first driver version introduce static-key checks to prefer the ISA path and fall back to SBI. A key implementation detail is event-to-counter mapping for 29 programmable counters, so the proposal puts a counter ID mask into the perf JSON/config2 (making many events raw) and raises compatibility and vendor-encoding concerns that need resolution.

AI-written summary · about

  1. 0:00Introduction to RISC-V perf
  2. 1:44Counter delegation extension
  3. 3:09Event to counter mapping issues
  4. 6:21Backward compatibility plan
  5. 8:26SBI vs I extension usage
  6. 10:13Cycle and instruction events
  7. 12:03Event discovery challenges
  8. 13:30Counter mapping constraints
  9. 15:16Vendor-specific encoding
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.