lkml.org 
[lkml]   [2016]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/7] perf report: Enable group view with hierarchy
    Date
    Now all missing pieces are implemented, let's enable it.  An example
    output below:

    $ perf record -e '{cycles,instructions}' make

    $ perf report --hierarchy --stdio
    ...
    # Overhead Command / Shared Object / Symbol
    # ...................... ..................................
    #
    ...
    25.74% 27.18% sh
    19.96% 24.14% libc-2.24.so
    9.55% 14.64% [.] __strcmp_sse2
    1.54% 0.00% [.] __tfind
    1.07% 1.13% [.] _int_malloc
    0.95% 0.00% [.] __strchr_sse2
    0.89% 1.39% [.] __tsearch
    0.76% 0.00% [.] strlen
    ...

    Signed-off-by: Namhyung Kim <namhyung@kernel.org>
    ---
    tools/perf/builtin-report.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
    index 1a07c4cdf6ed..6e88460cd13d 100644
    --- a/tools/perf/builtin-report.c
    +++ b/tools/perf/builtin-report.c
    @@ -935,7 +935,6 @@ int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused)

    if (symbol_conf.report_hierarchy) {
    /* disable incompatible options */
    - symbol_conf.event_group = false;
    symbol_conf.cumulate_callchain = false;

    if (field_order) {
    --
    2.9.3
    \
     
     \ /
      Last update: 2016-09-17 09:59    [W:4.505 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site