diff options
author | Max Filippov <[email protected]> | 2015-06-14 01:41:25 +0300 |
---|---|---|
committer | Max Filippov <[email protected]> | 2015-08-17 07:33:30 +0300 |
commit | 9bd46da45edd9701bcb2a221d58afe7d01febd1d (patch) | |
tree | b7e0fb6b38b05a205b4ddd52352e848ed99b8e3e /scripts/gdb/linux/modules.py | |
parent | af885de869a9d7086d50a2c250323f0bfd939fd4 (diff) |
xtensa: implement counting and sampling perf events
Xtensa Performance Monitor Module has up to 8 32 bit wide performance
counters. Each counter may be enabled independently and can count any
single type of hardware performance events. Event counting may be enabled
and disabled globally (per PMM).
Each counter has status register with bits indicating if the counter has
been overflown and may be programmed to raise profiling IRQ on overflow.
This IRQ is used to rewind counters and allow for counting more than 2^32
samples for counting events and to report samples for sampling events.
For more details see Tensilica Debug User's Guide, chapter 8
"Performance monitor module".
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions