diff options
| author | Gautam Menghani <[email protected]> | 2025-05-19 19:51:42 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2025-05-23 01:24:58 +0000 |
| commit | 739621f65702d532527aec124b0818d3a1521b5e (patch) | |
| tree | b2459471dfef86cc844d396906a6f0f80f3312a3 /tools/perf/python/counting.py | |
| parent | perf python: Add support for 'struct perf_counts_values' to return counter data (diff) | |
| download | kernel-739621f65702d532527aec124b0818d3a1521b5e.tar.gz kernel-739621f65702d532527aec124b0818d3a1521b5e.zip | |
perf python: Add evsel read method
Add the evsel read method to enable python to read counter data for the
given evsel.
Signed-off-by: Gautam Menghani <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Howard Chu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/linux-perf-users/[email protected]/
Link: https://lore.kernel.org/r/[email protected]
[ make the API take a CPU and thread then compute from these the appropriate indices. ]
Signed-off-by: Ian Rogers <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/python/counting.py')
0 files changed, 0 insertions, 0 deletions
