diff options
author | Fenghua Yu <[email protected]> | 2021-03-17 02:22:38 +0000 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2021-04-02 13:51:36 -0600 |
commit | 2428673638ea28fa93d2a38b1c3e8d70122b00ee (patch) | |
tree | ba40c64b21e5bcea79744d7bd9760fd1b4408068 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 896016d2ad051811ff9c9c087393adc063322fbc (diff) |
selftests/resctrl: Clean up resctrl features check
Checking resctrl features call strcmp() to compare feature strings
(e.g. "mba", "cat" etc). The checkings are error prone and don't have
good coding style. Define the constant strings in macros and call
strncmp() to solve the potential issues.
Suggested-by: Shuah Khan <[email protected]>
Tested-by: Babu Moger <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions