Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292668

[PATCH 2/2] perf, tools, stat: Fix indentation of counter running printout

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] perf, tools, stat: Fix indentation of counter running printout
Date 2015-12-16 01:50 +0100
Message-ID <qG8s2-37h-11@gated-at.bofh.it> (permalink)
References <qG8s2-37h-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andi Kleen <ak@linux.intel.com>

Fix the indentation of the counter running printout for non supported
counters.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 tools/perf/builtin-stat.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index a18db2b..4777355 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -827,6 +827,8 @@ static void printout(int id, int nr, struct perf_evsel *counter, double uval,
 			fprintf(stat_config.output, "%s%s",
 				csv_sep, counter->cgrp->name);
 
+		pm(&os, NULL, NULL, "", 0);
+
 		print_running(run, ena);
 		return;
 	}
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Support --metric-only in perf Andi Kleen <andi@firstfloor.org> - 2015-12-16 01:50 +0100
  [PATCH 2/2] perf, tools, stat: Fix indentation of counter running printout Andi Kleen <andi@firstfloor.org> - 2015-12-16 01:50 +0100
  [PATCH 1/2] perf, tools, stat: Implement --metric-only mode Andi Kleen <andi@firstfloor.org> - 2015-12-16 01:50 +0100

csiph-web