perf test record+probe_libc_inet_pton.sh: Use "grep -F" instead of obsolescent "fgrep"
authorTiezhu Yang <yangtiezhu@loongson.cn>
Fri, 16 Jun 2023 01:56:07 +0000 (09:56 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jun 2023 14:02:01 +0000 (11:02 -0300)
commitbb6b369cb42737afa4114f371868eb1d858ff36e
tree717a9d8eaedf2f9009e072cca489b60f586c8d74
parent5752c20f3787c9bc9ff9411a70b3d41add85518c
perf test record+probe_libc_inet_pton.sh: Use "grep -F" instead of obsolescent "fgrep"

There exists the following warning when executing 'perf test record+probe_libc_inet_pton.sh':

  fgrep: warning: fgrep is obsolescent; using grep -F

This is tested on Fedora 38, the version of grep is 3.8, the latest
version of grep claims the fgrep is obsolete, use "grep -F" instead of
"fgrep" to silence the warning.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: loongson-kernel@lists.loongnix.cn
Link: https://lore.kernel.org/r/1686880567-30017-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record+probe_libc_inet_pton.sh