[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YRZ3kjG2+3oO6qyq@kernel.org>
Date: Fri, 13 Aug 2021 10:45:54 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: Namhyung Kim <namhyung@...nel.org>, Jiri Olsa <jolsa@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Andi Kleen <ak@...ux.intel.com>,
Alexei Budankov <abudankov@...wei.com>,
James Clark <james.clark@....com>,
Thomas Richter <tmricht@...ux.ibm.com>
Subject: Re: [PATCH] perf test: Do not compare overheads in the zstd comp test
Em Thu, Aug 12, 2021 at 05:09:20PM -0700, Ian Rogers escreveu:
> On Thu, Aug 12, 2021 at 4:57 PM Namhyung Kim <namhyung@...nel.org> wrote:
> >
> > The overhead can vary on each run so it'd make the test failed
> > sometimes. Also order of hist entry can change.
> >
> > Use perf report -F option to omit the overhead field and sort the
> > result alphabetically.
> >
> > Signed-off-by: Namhyung Kim <namhyung@...nel.org>
>
> Acked-by: Ian Rogers <irogers@...gle.com>
Thanks, applied.
- Arnaldo
> Thanks,
> Ian
>
> > ---
> > tools/perf/tests/shell/record+zstd_comp_decomp.sh | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/tools/perf/tests/shell/record+zstd_comp_decomp.sh b/tools/perf/tests/shell/record+zstd_comp_decomp.sh
> > index 045723b3d992..8a168cf8bacc 100755
> > --- a/tools/perf/tests/shell/record+zstd_comp_decomp.sh
> > +++ b/tools/perf/tests/shell/record+zstd_comp_decomp.sh
> > @@ -25,8 +25,8 @@ check_compressed_stats() {
> >
> > check_compressed_output() {
> > $perf_tool inject -i $trace_file -o $trace_file.decomp &&
> > - $perf_tool report -i $trace_file --stdio | head -n -3 > $trace_file.comp.output &&
> > - $perf_tool report -i $trace_file.decomp --stdio | head -n -3 > $trace_file.decomp.output &&
> > + $perf_tool report -i $trace_file --stdio -F comm,dso,sym | head -n -3 > $trace_file.comp.output &&
> > + $perf_tool report -i $trace_file.decomp --stdio -F comm,dso,sym | head -n -3 > $trace_file.decomp.output &&
> > diff $trace_file.comp.output $trace_file.decomp.output
> > }
> >
> > --
> > 2.33.0.rc1.237.g0d66db33f3-goog
> >
--
- Arnaldo
Powered by blists - more mailing lists