lkml.org 
[lkml]   [2015]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/4] perf tools: Improve ambiguous option help message

    * Namhyung Kim <namhyung@kernel.org> wrote:

    > Currently if an option name is ambiguous it only prints first two
    > matched option names but no help. It'd be better it could show all
    > possible names and help messages too.
    >
    > Before:
    > $ perf report --show
    > Error: Ambiguous option: show (could be --show-total-period or
    > --show-ref-call-graph)
    > Usage: perf report [<options>]
    >
    > After:
    > $ perf report --show
    > Error: Ambiguous option: show (could be --show-total-period or
    > --show-ref-call-graph)
    > Usage: perf report [<options>]
    >
    > -n, --show-nr-samples
    > Show a column with the number of samples
    > --showcpuutilization
    > Show sample percentage for different cpu modes
    > -I, --show-info Display extended information about perf.data file
    > --show-total-period
    > Show a column with the sum of periods
    > --show-ref-call-graph
    > Show callgraph from reference event

    Very nice touch!

    Acked-by: Ingo Molnar <mingo@kernel.org>

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2015-10-25 10:21    [W:2.854 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site