perf tests record_offcpu.sh: Fix redirection of stderr to stdin
authorPatrice Duroux <patrice.duroux@gmail.com>
Fri, 3 Mar 2023 19:30:58 +0000 (20:30 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Apr 2023 12:39:55 +0000 (09:39 -0300)
commit9835b742ac3ee16dee361e7ccda8022f99d1cd94
treefb2aa922b6c7ce463086ce817c71e76a7717f8c3
parent31c5ba6c2556f80842d464ed743aff50890c8208
perf tests record_offcpu.sh: Fix redirection of stderr to stdin

It's not 2&>1, the correct is 2>&1

Fixes: ade1d0307b2fb3d9 ("perf offcpu: Update offcpu test for child process")
Signed-off-by: Patrice Duroux <patrice.duroux@gmail.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20230303193058.21274-1-patrice.duroux@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record_offcpu.sh