diff options
author | Athira Rajeev <[email protected]> | 2022-06-10 19:29:39 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-06-19 10:41:43 -0300 |
commit | b236371421df57b93fc49c4b9d0e53bd1aab2b2e (patch) | |
tree | 416e757db2c2c1c5853cd3ef55895594064e4973 /scripts/gdb/linux/tasks.py | |
parent | 72dcae8efd42699bbfd55e1ef187310c4e2e5dcb (diff) |
perf test topology: Use !strncmp(right platform) to fix guest PPC comparision check
commit cfd7092c31aed728 ("perf test session topology: Fix test to skip
the test in guest environment") added check to skip the testcase if the
socket_id can't be fetched from topology info.
But the condition check uses strncmp which should be changed to !strncmp
and to correctly match platform.
Fix this condition check.
Fixes: cfd7092c31aed728 ("perf test session topology: Fix test to skip the test in guest environment")
Reported-by: Thomas Richter <[email protected]>
Signed-off-by: Athira Jajeev <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Athira Rajeev <[email protected]>
Cc: Disha Goel <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: [email protected]
Cc: Madhavan Srinivasan <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nageswara R Sastry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions