public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] perf stat: Remove dead code
@ 2020-09-10  3:26 Ian Rogers
  2020-09-10  3:26 ` [PATCH v2 2/3] perf metricgroup: Fix typo in comment Ian Rogers
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ian Rogers @ 2020-09-10  3:26 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Kajol Jain, Kan Liang, Jin Yao, Thomas Richter, linux-kernel
  Cc: Stephane Eranian, Ian Rogers

No need to set os.evsel twice.

Signed-off-by: Ian Rogers <irogers@google.com>
---
 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/perf/util/stat-display.c
@@ -946,7 +946,6 @@ static void print_metric_headers(struct perf_stat_config *config,
 		out.print_metric = print_metric_header;
 		out.new_line = new_line_metric;
 		out.force_header = true;
-		os.evsel = counter;
 		perf_stat__print_shadow_stats(config, counter, 0,
 					      0,
 					      &out,
-- 
2.28.0.526.ge36021eeef-goog


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-10 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-10  3:26 [PATCH v2 1/3] perf stat: Remove dead code Ian Rogers
2020-09-10  3:26 ` [PATCH v2 2/3] perf metricgroup: Fix typo in comment Ian Rogers
2020-09-10  5:38   ` Namhyung Kim
2020-09-10 11:14     ` Arnaldo Carvalho de Melo
2020-09-10  3:26 ` [PATCH v2 3/3] perf metricgroup: Fix uncore metric expressions Ian Rogers
2020-09-10  5:51   ` Namhyung Kim
2020-09-10 17:58     ` Ian Rogers
2020-09-10  5:38 ` [PATCH v2 1/3] perf stat: Remove dead code Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox