]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:53:39 +0000 (11:53 +0200)
commit835b19a07086d2602f886647d8a309f683e8b07f
tree40a9bd48bd13772efdfcb965c8143ecc42b39f5f
parent8941b3187d10bb6608277c91a60138d7d9d82bd5
perf tests record_offcpu.sh: Fix redirection of stderr to stdin

[ Upstream commit 9835b742ac3ee16dee361e7ccda8022f99d1cd94 ]

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

Fixes: 12240871c3019b73 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/perf/tests/shell/record_offcpu.sh