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


Groups > linux.kernel > #1504972 > unrolled thread

[PATCH 48/52] perf c2c report: Iterate node display in browser

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2016-10-20 17:10 +0200
Last post2016-10-20 17:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 48/52] perf c2c report: Iterate node display in browser Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-20 17:10 +0200

#1504972 — [PATCH 48/52] perf c2c report: Iterate node display in browser

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2016-10-20 17:10 +0200
Subject[PATCH 48/52] perf c2c report: Iterate node display in browser
Message-ID<sun8J-Pf-17@gated-at.bofh.it>
From: Jiri Olsa <jolsa@kernel.org>

Adding TUI support to switch between Node entry versions
in real time with 'n' key.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-xqbw4h4dxig54wff7fd14lao@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/builtin-c2c.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c
index 00d1620dc2bf..27eef205a774 100644
--- a/tools/perf/builtin-c2c.c
+++ b/tools/perf/builtin-c2c.c
@@ -2207,6 +2207,10 @@ static int perf_c2c__browse_cacheline(struct hist_entry *he)
 		case 's':
 			c2c.symbol_full = !c2c.symbol_full;
 			break;
+		case 'n':
+			c2c.node_info = (c2c.node_info + 1) % 3;
+			setup_nodes_header();
+			break;
 		case 'q':
 			goto out;
 		default:
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web