perf test: test_intel_pt.sh: Use grep -c instead of grep plus wc -l
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 12 Sep 2022 08:34:07 +0000 (11:34 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Oct 2022 11:55:23 +0000 (08:55 -0300)
commit711949e2f0bac0c8894cf84360354344be55c057
tree4b9bdc782ccb8a7907df1a2d33ab1d77b387b064
parent1aaff2bac6cdb372ca83f3da6e1f4af6c04eefcd
perf test: test_intel_pt.sh: Use grep -c instead of grep plus wc -l

As suggested by shellcheck, use grep -c instead of grep plus wc -l

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220912083412.7058-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/test_intel_pt.sh