diff options
author | Kan Liang <[email protected]> | 2018-05-03 11:25:10 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-31 12:36:28 +0200 |
commit | 0e0162dfcd1fbe4c711ee86f24f966c318999603 (patch) | |
tree | 9bf956967d27593bd8b302fb2446dbe3156ec0b9 /tools/perf/scripts/python/sctop.py | |
parent | 927b2deb067b8b4753fc09c7a42092f43fc0c1f6 (diff) |
perf/x86/intel/uncore: Add infrastructure for free running counters
There are a number of free running counters introduced for uncore, which
provide highly valuable information to a wide array of customers.
However, the generic uncore code doesn't support them yet.
The free running counters will be specially handled based on their
unique attributes:
- They are read-only. They cannot be enabled/disabled.
- The event and the counter are always 1:1 mapped. It doesn't need to
be assigned nor tracked by event_list.
- They are always active. It doesn't need to check the availability.
- They have different bit width.
Also, using inline helpers to replace the check for fixed counter and
free running counter.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions