[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-xqbw4h4dxig54wff7fd14lao@git.kernel.org>
Date: Sat, 22 Oct 2016 01:56:22 -0700
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, dzickus@...hat.com, mingo@...nel.org,
tglx@...utronix.de, linux-kernel@...r.kernel.org, jolsa@...nel.org,
dsahern@...il.com, acme@...hat.com, a.p.zijlstra@...llo.nl,
jmario@...hat.com, namhyung@...nel.org, andi@...stfloor.org
Subject: [tip:perf/core] perf c2c report: Iterate node display in browser
Commit-ID: 1a56a42534da8f1d2faf8df99787833ce67e8fdb
Gitweb: http://git.kernel.org/tip/1a56a42534da8f1d2faf8df99787833ce67e8fdb
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Sun, 10 Jul 2016 16:30:27 +0200
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 21 Oct 2016 10:32:00 -0300
perf c2c report: Iterate node display in browser
Adding TUI support to switch between Node entry versions
in real time with 'n' key.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Cc: Andi Kleen <andi@...stfloor.org>
Cc: David Ahern <dsahern@...il.com>
Cc: Don Zickus <dzickus@...hat.com>
Cc: Joe Mario <jmario@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/n/tip-xqbw4h4dxig54wff7fd14lao@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.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 4645461..2059395 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:
Powered by blists - more mailing lists