Searched hist:"2428673638 ea28fa93d2a38b1c3e8d70122b00ee" (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/resctrl/ |
H A D | fill_buf.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | cache.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | mba_test.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | mbm_test.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | resctrl_tests.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | resctrlfs.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | resctrl_val.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | cat_test.c | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | resctrl.h | diff 2428673638ea28fa93d2a38b1c3e8d70122b00ee Wed Mar 17 03:22:38 CET 2021 Fenghua Yu <fenghua.yu@intel.com> 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 <skhan@linuxfoundation.org> Tested-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|