1. 06 Jul, 2015 2 commits
  2. 05 Jul, 2015 2 commits
  3. 02 Jul, 2015 1 commit
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · b9df84fd
      Ingo Molnar authored
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
      
      Pull perf/core fixes from Arnaldo Carvalho de Melo:
      
      Build fixes:
      
        - Create config.detected into OUTPUT directory, fixing parallel
          builds sharing the same source directory (Aaro Kiskinen)
      
        - Allow to specify custom linker command, fixing some MIPS64
          builds. (Aaro Kiskinen)
      
      Infrastructure fixes:
      
        - Add missing break for PERF_RECORD_ITRACE_START, which caused those events
          samples to be parsed as well as PERF_RECORD_LOST_SAMPLES. ITRACE_START only
          appears when Intel PT or BTS are present, so  (Jiri Olsa)
      
        - Call the perf_session destructor when bailing out in the inject, kmem, report,
          kvm and mem tools (Taeung Song)
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      b9df84fd
  4. 01 Jul, 2015 8 commits
  5. 30 Jun, 2015 2 commits
    • Peter Zijlstra's avatar
      perf/x86: Fix 'active_events' imbalance · 93472aff
      Peter Zijlstra authored
      Commit 1b7b938f ("perf/x86/intel: Fix PMI handling for Intel PT") conditionally
      increments active_events in x86_add_exclusive() but unconditionally decrements in
      x86_del_exclusive().
      
      These extra decrements can lead to the situation where
      active_events is zero and thus the PMI handler is 'disabled'
      while we have active events on the PMU generating PMIs.
      
      This leads to a truckload of:
      
        Uhhuh. NMI received for unknown reason 21 on CPU 28.
        Do you have a strange power saving mode enabled?
        Dazed and confused, but trying to continue
      
      messages and generally messes up perf.
      
      Remove the condition on the increment, double increment balanced
      by a double decrement is perfectly fine.
      
      Restructure the code a little bit to make the unconditional inc
      a bit more natural.
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: alexander.shishkin@linux.intel.com
      Cc: brgerst@gmail.com
      Cc: dvlasenk@redhat.com
      Cc: luto@amacapital.net
      Cc: oleg@redhat.com
      Fixes: 1b7b938f ("perf/x86/intel: Fix PMI handling for Intel PT")
      Link: http://lkml.kernel.org/r/20150624144750.GJ18673@twins.programming.kicks-ass.netSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      93472aff
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · 2d6dac2f
      Ingo Molnar authored
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
      
      Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
      
      User visible changes:
      
        - Validate syscall list passed via -e argument to 'perf trace'. (Arnaldo Carvalho de Melo)
      
        - Introduce 'perf stat --per-thread'. (Jiri Olsa)
      
        - Check access permission for --kallsyms and --vmlinux. (Li Zhang)
      
      Infrastructure changes:
      
        - Move stuff out of 'perf stat' and into the lib for further use. (Jiri Olsa)
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      2d6dac2f
  6. 26 Jun, 2015 25 commits