diff options
author | Reinette Chatre <[email protected]> | 2018-09-15 14:58:21 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-18 23:38:05 +0200 |
commit | c793da8e4c62d2c002a79c47f44efead450cbcae (patch) | |
tree | 1b8fd80feb2d6b6ccf770a0a2573cdf17655068a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f968dc119a159a95628a20de2a2dcc913d0a82d7 (diff) |
x86/intel_rdt: Global closid helper to support future fixes
The number of CLOSIDs supported by a system is the minimum number of
CLOSIDs supported by any of its resources. Care should be taken when
iterating over the CLOSIDs of a resource since it may be that the number
of CLOSIDs supported on the system is less than the number of CLOSIDs
supported by the resource.
Introduce a helper function that can be used to query the number of
CLOSIDs that is supported by all resources, irrespective of how many
CLOSIDs are supported by a particular resource.
Signed-off-by: Reinette Chatre <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: "H Peter Anvin" <[email protected]>
Cc: "Tony Luck" <[email protected]>
Cc: "Xiaochen Shen" <[email protected]>
Cc: "Chen Yu" <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions