diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-07-10 10:30:27 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-10-21 09:32:00 -0400 |
commit | 1a56a42534da8f1d2faf8df99787833ce67e8fdb (patch) | |
tree | bfc25624122dd6c5e555bec911aa29b6307ef487 /tools/perf | |
parent | 590b6a3ac5133e3fff9ac6f44af0dc0f3eb7c397 (diff) |
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@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>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-c2c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c index 4645461bd997..205939527945 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) | |||
2207 | case 's': | 2207 | case 's': |
2208 | c2c.symbol_full = !c2c.symbol_full; | 2208 | c2c.symbol_full = !c2c.symbol_full; |
2209 | break; | 2209 | break; |
2210 | case 'n': | ||
2211 | c2c.node_info = (c2c.node_info + 1) % 3; | ||
2212 | setup_nodes_header(); | ||
2213 | break; | ||
2210 | case 'q': | 2214 | case 'q': |
2211 | goto out; | 2215 | goto out; |
2212 | default: | 2216 | default: |