1. 21 4月, 2012 1 次提交
  2. 17 4月, 2012 2 次提交
  3. 16 4月, 2012 1 次提交
  4. 15 4月, 2012 3 次提交
  5. 13 4月, 2012 1 次提交
  6. 12 4月, 2012 1 次提交
  7. 11 4月, 2012 1 次提交
  8. 06 4月, 2012 5 次提交
  9. 04 4月, 2012 1 次提交
  10. 30 3月, 2012 5 次提交
    • I
      perf tools: Remove auto-generated bison/flex files · 65f3e56e
      Ingo Molnar 提交于
      These should not be in the Git history - they are auto-generated.
      
      Extend the Makefile rules of the parser files to include the generation
      run.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/20120327183335.GA27621@gmail.com
      [ committer note: Fixed up O= handling ]
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      65f3e56e
    • L
      tools turbostat: harden against cpu online/offline · 15aaa346
      Len Brown 提交于
      Sometimes users have turbostat running in interval mode
      when they take processors offline/online.
      
      Previously, turbostat would survive, but not gracefully.
      
      Tighten up the error checking so turbostat notices
      changesn sooner, and print just 1 line on change:
      
      turbostat: re-initialized with num_cpus %d
      Signed-off-by: NLen Brown <len.brown@intel.com>
      15aaa346
    • L
      tools turbostat: reduce measurement overhead due to IPIs · 88c3281f
      Len Brown 提交于
      turbostat uses /dev/cpu/*/msr interface to read MSRs.
      For modern systems, it reads 10 MSR/CPU.  This can
      be observed as 10 "Function Call Interrupts"
      per CPU per sample added to /proc/interrupts.
      
      This overhead is measurable on large idle systems,
      and as Yoquan Song pointed out, it can even trick
      cpuidle into thinking the system is busy.
      
      Here turbostat re-schedules itself in-turn to each
      CPU so that its MSR reads will always be local.
      This replaces the 10 "Function Call Interrupts"
      with a single "Rescheduling interrupt" per sample
      per CPU.
      
      On an idle 32-CPU system, this shifts some residency from
      the shallow c1 state to the deeper c7 state:
      
       # ./turbostat.old -s
         %c0  GHz  TSC    %c1    %c3    %c6    %c7   %pc2   %pc3   %pc6   %pc7
        0.27 1.29 2.29   0.95   0.02   0.00  98.77  20.23   0.00  77.41   0.00
        0.25 1.24 2.29   0.98   0.02   0.00  98.75  20.34   0.03  77.74   0.00
        0.27 1.22 2.29   0.54   0.00   0.00  99.18  20.64   0.00  77.70   0.00
        0.26 1.22 2.29   1.22   0.00   0.00  98.52  20.22   0.00  77.74   0.00
        0.26 1.38 2.29   0.78   0.02   0.00  98.95  20.51   0.05  77.56   0.00
      ^C
       i# ./turbostat.new -s
         %c0  GHz  TSC    %c1    %c3    %c6    %c7   %pc2   %pc3   %pc6   %pc7
        0.27 1.20 2.29   0.24   0.01   0.00  99.49  20.58   0.00  78.20   0.00
        0.27 1.22 2.29   0.25   0.00   0.00  99.48  20.79   0.00  77.85   0.00
        0.27 1.20 2.29   0.25   0.02   0.00  99.46  20.71   0.03  77.89   0.00
        0.28 1.26 2.29   0.25   0.01   0.00  99.46  20.89   0.02  77.67   0.00
        0.27 1.20 2.29   0.24   0.01   0.00  99.48  20.65   0.00  78.04   0.00
      
      cc: Youquan Song <youquan.song@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      88c3281f
    • A
      perf annotate: Fix off by one symbol hist size allocation and hit accounting · 64c17be4
      Arnaldo Carvalho de Melo 提交于
      We were not noticing it because symbol__inc_addr_samples was erroneously
      dropping samples that hit the last byte in a function.
      
      Working on a fix for a problem reported by David Miller, Stephane
      Eranian and Sorin Dumitru, where addresses < sym->start were causing
      problems, I noticed this other problem.
      
      Cc: David Ahern <dsahern@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Sorin Dumitru <dumitru.sorin87@gmail.com>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-pqjaq4cr1xs2xen73pjhbav4@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      64c17be4
    • L
      tools turbostat: add summary option · e23da037
      Len Brown 提交于
      turbostat -s
      cuts down on the amount of output, per user request.
      
      also treak some output whitespace and the man page.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e23da037
  11. 29 3月, 2012 6 次提交
  12. 28 3月, 2012 2 次提交
  13. 27 3月, 2012 4 次提交
  14. 26 3月, 2012 1 次提交
  15. 24 3月, 2012 1 次提交
  16. 23 3月, 2012 4 次提交
  17. 21 3月, 2012 1 次提交
    • S
      ktest: Allow a test to override REBOOT_ON_SUCCESS · 648a182c
      Steven Rostedt 提交于
      The option REBOOT_ON_SUCCESS is global, and will have the machine reboot
      the the box if all tests are successful. But a test may not want the
      machine to reboot, and perhaps have the kernel it loaded be used to
      install the next kernel. Or the last test may set up a kernel that the
      user may want to look at. In this case, the user could have the global
      option REBOOT_ON_SUCCESS be true, but if a test is defined to run at the
      end, that test can override the global option and keep the kernel it
      installed for the user to log in with.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      648a182c