1. 22 1月, 2015 1 次提交
  2. 08 1月, 2015 1 次提交
    • N
      perf hists: Fix children sort key behavior · 5ca82710
      Namhyung Kim 提交于
      When perf report --children resorts output fields, it tries to put
      caller above the callee.  But this was only meaningful for a same thread
      and doing this requires callchain enabled.  So fix its check before
      comparing the callchain depth.
      
      This also changes the hist accumulation tests: In test 3, xmalloc in
      bash thread should be above than other perf threads due to alphabetical
      order of comm string.  Also it's under page_fault in bash thread since
      alphabetical order of dso name.  The sys_perf_event_open in perf thread
      is put on the last line since it's self overhead is 0.
      
      In test 4, the sys_perf_event_open is put above other perf entries that
      have same children overhead since its callchain depth is smaller.
      Signed-off-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/1419309381-2593-1-git-send-email-namhyung@kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      5ca82710
  3. 09 12月, 2014 1 次提交
  4. 24 8月, 2014 1 次提交
    • J
      perf tools: Add +field argument support for --field option · 2f3f9bcf
      Jiri Olsa 提交于
      Adding support to add field(s) to default field order via using the '+'
      prefix, like for report:
      
        $ perf report
        Samples: 10  of event 'cycles', Event count (approx.): 4463799
        Overhead  Command  Shared Object      Symbol
          32.40%  ls       [kernel.kallsyms]  [k] filemap_fault
          28.19%  ls       [kernel.kallsyms]  [k] get_page_from_freelist
          23.38%  ls       [kernel.kallsyms]  [k] enqueue_entity
          15.04%  ls       [kernel.kallsyms]  [k] mmap_region
      
        $ perf report -F +period,sample
        Samples: 10  of event 'cycles', Event count (approx.): 4463799
        Overhead        Period       Samples  Command  Shared Object      Symbol
          32.40%       1446493             1  ls       [kernel.kallsyms]  [k] filemap_fault
          28.19%       1258486             1  ls       [kernel.kallsyms]  [k] get_page_from_freelist
          23.38%       1043754             1  ls       [kernel.kallsyms]  [k] enqueue_entity
          15.04%        671160             1  ls       [kernel.kallsyms]  [k] mmap_region
      
      Works in general for commands using --field option.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jean Pihet <jean.pihet@linaro.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/1408715919-25990-2-git-send-email-jolsa@kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      2f3f9bcf
  5. 20 8月, 2014 1 次提交
  6. 12 8月, 2014 4 次提交
  7. 01 6月, 2014 3 次提交
  8. 21 5月, 2014 9 次提交
  9. 16 4月, 2014 1 次提交
  10. 15 3月, 2014 5 次提交
  11. 01 11月, 2013 1 次提交
  12. 13 7月, 2013 6 次提交
  13. 16 3月, 2013 1 次提交
  14. 07 2月, 2013 1 次提交
    • J
      perf hists browser: Add support to display whole group data for raw columns · 0c5268bf
      Jiri Olsa 提交于
      Currently we don't display group members' values for raw columns like
      'Samples' and 'Period' when in group report mode.
      
      Uniting '__hpp__percent_fmt' and '__hpp__raw_fmt' function under new
      function __hpp__fmt. It's basically '__hpp__percent_fmt' code with new
      'fmt_percent' bool parameter added saying whether raw number or
      percentage should be printed.
      
      This way raw columns print out all the group members when
      in group report mode, like:
      
        $ perf record -e '{cycles,cache-misses}' ls
        ...
        $ perf report --group --show-total-period --stdio
        ...
        #         Overhead                    Period  Command      Shared Object                             Symbol
        # ................  ........................  .......  .................  .................................
        #
            23.63%  11.24%       3331335         317       ls  [kernel.kallsyms]  [k] __lock_acquire
            12.72%   0.00%       1793100           0       ls  [kernel.kallsyms]  [k] native_sched_clock
             9.72%   0.00%       1369920           0       ls  libc-2.14.90.so    [.] _nl_find_locale
             0.03%   0.07%          4476           2       ls  [kernel.kallsyms]  [k] intel_pmu_enable_all
             0.00%  11.73%             0         331       ls  ld-2.14.90.so      [.] _dl_cache_libcmp
             0.00%  11.06%             0         312       ls  [kernel.kallsyms]  [k] vma_interval_tree_insert
      Signed-off-by: NJiri Olsa <jolsa@redhat.com>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/1359981185-16819-2-git-send-email-jolsa@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      0c5268bf
  15. 01 2月, 2013 2 次提交
  16. 09 12月, 2012 2 次提交