diff options
author | Babu Moger <babu.moger@amd.com> | 2020-01-17 00:32:43 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-02-11 04:43:17 +0300 |
commit | 53f74fbec9f069241aa6f4c4d908229c77ee83e2 (patch) | |
tree | 441424a750794e87f90a958a15876c6ef9e5acaa /tools/testing/selftests/resctrl/resctrl.h | |
parent | 790bf585b0eeec9aa0e680ba090142b98da7f948 (diff) | |
download | linux-53f74fbec9f069241aa6f4c4d908229c77ee83e2.tar.xz |
selftests/resctrl: Add vendor detection mechanism
RESCTRL feature is supported both on Intel and AMD now. Some features
are implemented differently. Add vendor detection mechanism. Use the vendor
check where there are differences.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/resctrl/resctrl.h')
-rw-r--r-- | tools/testing/selftests/resctrl/resctrl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/resctrl/resctrl.h b/tools/testing/selftests/resctrl/resctrl.h index e8399389f3ad..39bf59c6b9c5 100644 --- a/tools/testing/selftests/resctrl/resctrl.h +++ b/tools/testing/selftests/resctrl/resctrl.h @@ -66,6 +66,7 @@ pid_t bm_pid, ppid; int tests_run; char llc_occup_path[1024]; +bool is_amd; bool check_resctrlfs_support(void); int filter_dmesg(void); |