Re: [PATCH] perf test: Fix shadow stat test for non-bash shells

2021-01-13 Thread Namhyung Kim
Hello, On Tue, Jan 12, 2021 at 8:17 PM David Laight wrote: > > From: Jiri Olsa > > Sent: 12 January 2021 09:30 > > > > On Fri, Jan 08, 2021 at 04:47:12PM +0900, Namhyung Kim wrote: > > > It was using some bash-specific features and failed to parse when > > > running with a different shell like

RE: [PATCH] perf test: Fix shadow stat test for non-bash shells

2021-01-12 Thread David Laight
From: Jiri Olsa > Sent: 12 January 2021 09:30 > > On Fri, Jan 08, 2021 at 04:47:12PM +0900, Namhyung Kim wrote: > > It was using some bash-specific features and failed to parse when > > running with a different shell like below: ... You don't need a temporary file, one option is: > > index

Re: [PATCH] perf test: Fix shadow stat test for non-bash shells

2021-01-12 Thread Jiri Olsa
On Fri, Jan 08, 2021 at 04:47:12PM +0900, Namhyung Kim wrote: > It was using some bash-specific features and failed to parse when > running with a different shell like below: > > root@kbl-ppc:~/kbl-ws/perf-dev/lck-9077/acme.tmp/tools/perf# ./perf test 83 > -vv > 83: perf stat metrics (shadow

[PATCH] perf test: Fix shadow stat test for non-bash shells

2021-01-07 Thread Namhyung Kim
It was using some bash-specific features and failed to parse when running with a different shell like below: root@kbl-ppc:~/kbl-ws/perf-dev/lck-9077/acme.tmp/tools/perf# ./perf test 83 -vv 83: perf stat metrics (shadow stat) test: --- start --- test child