mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] perf stat: Remove dead code
@ 2020-09-09  8:02 Ian Rogers
  2020-09-09  8:02 ` [PATCH 2/3] perf metricgroup: Fix uncore metric expressions Ian Rogers
  2020-09-09  8:02 ` [PATCH 3/3] perf metricgroup: Fix typo in comment Ian Rogers
  0 siblings, 2 replies; 8+ messages in thread
From: Ian Rogers @ 2020-09-09  8:02 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, Hongbo 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	[flat|nested] 8+ messages in thread

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09  8:02 [PATCH 1/3] perf stat: Remove dead code Ian Rogers
2020-09-09  8:02 ` [PATCH 2/3] perf metricgroup: Fix uncore metric expressions Ian Rogers
2020-09-09  9:53   ` Namhyung Kim
2020-09-09 17:52     ` Ian Rogers
2020-09-10  3:40       ` Ian Rogers
2020-09-10  5:55         ` Namhyung Kim
     [not found]   ` <9d22f4d1-ea24-bc42-40bc-d25202f25678@linux.intel.com>
2020-09-09 17:38     ` Ian Rogers
2020-09-09  8:02 ` [PATCH 3/3] perf metricgroup: Fix typo in comment Ian Rogers

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

all inboxes | Powered by JetHome®