diff options
author | Tony luck <[email protected]> | 2017-07-25 14:14:29 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-08-01 22:41:22 +0200 |
commit | 5dc1d5c6bac2cfe3420cf353dfb0ef2e543f7c10 (patch) | |
tree | ee463657d3c2b7d1ebaf61f010194bc79232bd3a /tools/lib/api/debug.c | |
parent | edf6fa1c4a951b3a03e94b63e6483c5d9da3ab11 (diff) |
x86/intel_rdt: Simplify info and base file lists
The info directory files and base files need to be different for each
resource like cache and Memory bandwidth. With in each resource, the
files would be further different for monitoring and ctrl. This leads to
a lot of different static array declarations given that we are adding
resctrl monitoring.
Simplify this to one common list of files and then declare a set of
flags to choose the files based on the resource, whether it is info or
base and if it is control type file. This is as a preparation to include
monitoring based info and base files.
No functional change.
[Vikas: Extended the flags to have few bits per category like resource,
info/base etc]
Signed-off-by: Tony luck <[email protected]>
Signed-off-by: Vikas Shivappa <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/1501017287-28083-11-git-send-email-vikas.shivappa@linux.intel.com
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions