1. 12 6月, 2014 4 次提交
    • J
      perf tools: Cache register accesses for unwind processing · 0c4e774f
      Jiri Olsa 提交于
      Caching registers value into an array. Got about 4% speed up
      of perf_reg_value function for report command processing
      dwarf unwind stacks.
      
      Output from report over 1.5 GB data with DWARF unwind stacks:
      (TODO fix perf diff)
      
        current code:
         5.84%     perf  perf                       [.] perf_reg_value
        change:
         1.94%     perf  perf                       [.] perf_reg_value
      
      And little bit of overall speed up:
      (perf stat -r 5 -e '{cycles,instructions}:u' ...)
      
        current code:
         310,298,611,754      cycles                     ( +-  0.33% )
         439,669,689,341      instructions               ( +-  0.03% )
      
           188.656753166 seconds time elapsed            ( +-  0.82% )
      
        change:
         291,315,329,878      cycles                     ( +-  0.22% )
         391,763,485,304      instructions               ( +-  0.03%  )
      
           180.742249687 seconds time elapsed            ( +-  0.64% )
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Arnaldo Carvalho de Melo <acme@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/1401892622-30848-2-git-send-email-jolsa@kernel.orgSigned-off-by: NJiri Olsa <jolsa@kernel.org>
      0c4e774f
    • N
      perf record: Fix to honor user freq/interval properly · 17314e23
      Namhyung Kim 提交于
      When configuring event perf checked a wrong condition that user
      specified both of freq (-F) and period (-c) or the event has no
      default value.  This worked because most of events don't have default
      value and only tracepoint events have default of 1 (and it's not
      desirable to change it for those events).
      
      However, Andi's downloadable event patch changes the situation so it
      cannot change the value for those events.  Fix it by allowing override
      the default value if user gives one of the options.
      
        $ perf record -a -e uops_retired.all -F 4000 sleep 1
        [ perf record: Woken up 1 times to write data ]
        [ perf record: Captured and wrote 0.325 MB perf.data (~14185 samples) ]
      
        $ perf evlist -F
        cpu/uops_retired.all/: sample_freq=4000
      Signed-off-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Link: http://lkml.kernel.org/r/1402292617-26278-1-git-send-email-namhyung@kernel.orgSigned-off-by: NJiri Olsa <jolsa@kernel.org>
      17314e23
    • I
      Merge tag 'perf-core-for-mingo' of... · 7184062b
      Ingo Molnar 提交于
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
      
      Pull perf/core improvements from Arnaldo Carvalho de Melo:
      
      User visible:
      
        * Improve 'perf probe' error messages, moving some diagnostic messages to
          only appear in --verbose mode and fixing up some error reporting related
          to variables and struct members. (Masami Hiramatsu)
      
        * Reflow 'perf timechart' man page. (Stanislav Fomichev)
      
      Developer stuff:
      
        * Be more precise when reporting missing libraries in a static tool build.
          (Arnaldo Carvalho de Melo)
      
        * Show error messages from the multiple make invoked from 'make build-test'.
          (Arnaldo Carvalho de Melo)
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      7184062b
    • I
      Merge tag 'perf-core-for-mingo' of... · 94eb1531
      Ingo Molnar 提交于
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core
      
      Pull perf/core improvements and fixes from Jiri Olsa:
      
        * Bitmask handling and plugin updates (Steven Rostedt)
      
        * Fix pipe check regression in attr event callback (Jiri Olsa)
      
        * Prettify the tags/TAGS/cscope targets output (Jiri Olsa)
      
        * Print array argument as string (Namhyung Kim)
      
        * Pass protection and flags bits through mmap2 interface (Peter Zijlstra)
      
        * Update perf tool mmap2 interface with protection and flag bits (Don Zickus)
      
        * Re-enable mmap interface (Don Zickus)
      
        * Add mem-mode documentation to report command (Don Zickus)
      
        * Add sort on dcacheline (Don Zickus)
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      94eb1531
  2. 10 6月, 2014 4 次提交
  3. 09 6月, 2014 13 次提交
  4. 08 6月, 2014 4 次提交
  5. 06 6月, 2014 3 次提交
  6. 05 6月, 2014 12 次提交