Skip to contentSkip to conversation

Sparc64 perf bug fixes and debugging facilities.

PATCH New David Miller 1 participant 1 message Oct 16, 2012

lore
Share & tools
lore
#0 lore raw

cover Sparc64 perf bug fixes and debugging facilities.

I had to track down a few perf bugs on sparc64, and it's impossible currently to see what's happening when debugging complicated issues such as seeing perf stop getting events when monitoring using all cpus in a huge system.

So one patch here is a new 'x' sysrq that dumps the PMU control registers on every cpu.

Next we have a bug fix inherited from x86, making sure there is a valid and alive address space before we go trying to probe the user stack for a backtrace.

Finally, fix PCR control reg setting in sparc_pmu_enable_event(). This basically broke 'perf top' and similar things.

Pushed out to 'sparc'.