diff options
author | Prarit Bhargava <[email protected]> | 2018-06-01 10:04:28 -0400 |
---|---|---|
committer | Len Brown <[email protected]> | 2018-06-01 23:12:46 -0400 |
commit | 843c57916dde0e260e500e4ae1a443a7d7fbe962 (patch) | |
tree | 84762eb24cde5bd74d899949eb41719e458b88d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 023fe0ac975e4dff592ce90bbd12747dedf7c598 (diff) |
tools/power turbostat: set max_num_cpus equal to the cpumask length
Future fixes will use sysfs files that contain cpumask output. The code
needs to know the length of the cpumask in order to determine which cpus
are set in a cpumask. Currently topo.max_cpu_num is the maximum cpu
number. It can be increased the the maximum value of cpus represented in
cpumasks.
Set max_num_cpus to the length of a cpumask.
Signed-off-by: Prarit Bhargava <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions