lkml.org 
[lkml]   [2016]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 58/61] perf c2c report: Iterate node display in browser
    Date
    Adding TUI support to switch between Node entry versions
    in real time with 'n' key.

    Link: http://lkml.kernel.org/n/tip-xqbw4h4dxig54wff7fd14lao@git.kernel.org
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    ---
    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 1adb7fb4866c..0902aba4cf19 100644
    --- a/tools/perf/builtin-c2c.c
    +++ b/tools/perf/builtin-c2c.c
    @@ -2204,6 +2204,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
    \
     
     \ /
      Last update: 2016-09-19 15:17    [W:4.253 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site