Re: [PATCH v2 1/3] perf stat: Remove dead code

2020-09-09 Thread Namhyung Kim
Hi Ian, On Thu, Sep 10, 2020 at 12:26 PM Ian Rogers wrote: > > No need to set os.evsel twice. > > Signed-off-by: Ian Rogers Acked-by: Namhyung Kim Btw, I think setting the 'out' variable can be moved out of the loop. Thanks Namhyung > --- > tools/perf/util/stat-display.c | 1 - > 1 file ch

[PATCH v2 1/3] perf stat: Remove dead code

2020-09-09 Thread Ian Rogers
No need to set os.evsel twice. Signed-off-by: Ian Rogers --- tools/perf/util/stat-display.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/stat-display.c b/tools/perf/util/stat-display.c index 493ec372fdec..4b57c0c07632 100644 --- a/tools/perf/util/stat-display.c +++ b/tools/