Re: [PATCH] tools/perf/tests: Fix session topology test comparison check

2022-06-14 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 14, 2022 at 07:38:55AM -0700, Ian Rogers escreveu: > On Fri, Jun 10, 2022 at 7:00 AM Athira Rajeev > wrote: > > > > commit cfd7092c31ae ("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 fetc

[PATCH] tools/perf/tests: Fix session topology test comparison check

2022-06-10 Thread Athira Rajeev
commit cfd7092c31ae ("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. Patch f