perf test: Fix shellcheck issues in the record test
authorNamhyung Kim <namhyung@kernel.org>
Thu, 20 Oct 2022 17:26:37 +0000 (10:26 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Oct 2022 19:37:26 +0000 (16:37 -0300)
commit9e455f4f29e3aeab29b6c1f7d086ddc43fc1a502
treea03c5c6049b829c1d8aba621e4b21216a2c6fde1
parent439dbef2a94e825241160e1bbd050d01e5728608
perf test: Fix shellcheck issues in the record test

Basically there are 3 issues:

 1. quote shell expansion
 2. do not use egrep
 3. use upper case letters for signal names

Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221020172643.3458767-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record.sh