diff options
| author | Ian Rogers <[email protected]> | 2023-08-30 07:30:26 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-31 02:03:03 +0000 |
| commit | f0005f1732245533f0bfa5bad4803c30a0e9f4e0 (patch) | |
| tree | 6342b5896660ceeed72da647ccce640c0a2c56c3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | perf pmu: Remove str from perf_pmu_alias (diff) | |
| download | kernel-f0005f1732245533f0bfa5bad4803c30a0e9f4e0.tar.gz kernel-f0005f1732245533f0bfa5bad4803c30a0e9f4e0.zip | |
perf metric: Add #num_cpus_online literal
Returns the number of CPUs online, unlike #num_cpus that returns the
number present.
Add a test of the property.
This will be used in future Intel metrics.
Reviewed-by: Kan Liang <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Eduard Zingerman <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jing Zhang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Perry Taylor <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
