04 May, 2017

1 commit

  • Mostly in the documentation.

    Signed-off-by: Kim Phillips
    Cc: Alexander Shishkin
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20170503131350.cebeecd8bd0f2968417626ab@arm.com
    [ Fix spelling of "parameter" in one of the spell-checked lines ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Kim Phillips
     

28 Feb, 2017

1 commit

  • Fix typos and add the following to the scripts/spelling.txt:

    an user||a user
    an userspace||a userspace

    I also added "userspace" to the list since it is a common word in Linux.
    I found some instances for "an userfaultfd", but I did not add it to the
    list. I felt it is endless to find words that start with "user" such as
    "userland" etc., so must draw a line somewhere.

    Link: http://lkml.kernel.org/r/1481573103-11329-4-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

06 Oct, 2016

3 commits

  • Add two tips that describe --list option of config sub-command and
    explain how to choose particular config file location.

    Signed-off-by: Nambong Ha
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Taeung Song
    Link: http://lkml.kernel.org/r/1475191562-3240-1-git-send-email-over3025@gmail.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Nambong Ha
     
  • Signed-off-by: Donghyun Kim
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Taeung Song
    Link: http://lkml.kernel.org/r/1475187357-21882-1-git-send-email-dongdong9335@gmail.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Donghyun Kim
     
  • There is a existing tip as below.

    If you have debuginfo enabled, try: perf report -s sym,srcline

    However this tip only describe a condition to use --sort sym,scrline
    options. So there is lack of explanation in the tip. I think that it
    would be better to add a tip that exactly explains the feature of --sort
    srcline.

    Signed-off-by: Seonyoung Kim
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Taeung Song
    Link: http://lkml.kernel.org/r/1475194602-5596-1-git-send-email-adamas0414@gmail.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Kim SeonYoung
     

25 Feb, 2016

1 commit

  • The --hierarchy option is to show output in hierarchy mode. It extends
    folding/unfolding in the TUI and GTK browsers to support sort items as
    well as callchains. Users can toggle the items to see the performance
    result at wanted level.

    $ perf report --hierarchy --tui
    Overhead Command / Shared Object / Symbol
    --------------------------------------------------
    + 32.96% gnome-shell
    - 15.11% swapper
    - 14.97% [kernel.vmlinux]
    6.82% [k] intel_idle
    0.66% [k] menu_select
    0.43% [k] __hrtimer_start_range_ns
    ...

    Signed-off-by: Namhyung Kim
    Acked-by: Pekka Enberg
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Wang Nan
    Link: http://lkml.kernel.org/r/1456326830-30456-17-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

12 Jan, 2016

1 commit

  • Thanks to Andi Kleen for providing useful tips.

    Suggested-by: Andi Kleen
    Signed-off-by: Namhyung Kim
    Cc: Andi Kleen
    Cc: Brendan Gregg
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Cc: Wang Nan
    Link: http://lkml.kernel.org/r/1452508510-28316-1-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

09 Jan, 2016

1 commit

  • Currently perf report only shows a help message "For a higher level
    overview, try: perf report --sort comm,dso" unconditionally (even if
    the sort keys were used). Add more help tips and show randomly.

    Load tips from ${prefix}/share/doc/perf-tip/tips.txt file.

    $ perf report | tail
    0.10% swapper [kernel.vmlinux] [k] irq_exit
    0.09% swapper [kernel.vmlinux] [k] flush_smp_call_function_queue
    0.08% swapper [kernel.vmlinux] [k] native_write_msr_safe
    0.03% swapper [kernel.vmlinux] [k] group_sched_in
    0.01% perf [kernel.vmlinux] [k] native_write_msr_safe

    #
    # (Tip: Search options using a keyword: perf report -h )
    #

    Signed-off-by: Namhyung Kim
    Acked-by: Ingo Molnar
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Masami Hiramatsu
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Wang Nan
    Link: http://lkml.kernel.org/r/1452166913-27046-1-git-send-email-namhyung@kernel.org
    [ Renamed it to perf_tip() and the parameter dirname to dirpath to fix the build on older distros ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim