1. 04 Aug, 2015 5 commits
  2. 31 Jul, 2015 17 commits
  3. 30 Jul, 2015 1 commit
  4. 29 Jul, 2015 9 commits
  5. 28 Jul, 2015 2 commits
  6. 27 Jul, 2015 2 commits
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · 4b0c53e9
      Ingo Molnar authored
      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 and fixes from Arnaldo Carvalho de Melo:
      
      New features:
      
        - Introduce PERF_RECORD_SWITCH(_CPU_WIDE) and use it in 'record' to
          ask for context switches, allowing non priviledged tasks to know
          when they are switched in and out, which wasn't possible with
          the other context switch tracepoint and software events, see the
          patch description for a comprehensive justification (Adrian Hunter)
      
        - Stop collecting /proc/kallsyms in perf.data files, saving about
          4.5MB on a typical x86-64 system, use the the symbol resolution
          routines used in all the other tools (report, top, etc) now that
          we can ask libtraceevent to use perf's symbol resolution code.
          (Arnaldo Carvalho de Melo)
      
      User visible fixes:
      
        - Expose perf's symbol resolver to libtraceevent, so that its plugins can
          resolve tracepoint fields to kernel functions, like the 'function' field
          in the "timer:hrtimer_start tracepoint" (Arnaldo Carvalho de Melo)
      
      Infrastructure changes:
      
        - Map propagation of thread and cpu maps improvements, prep work for
          'perf stat' new features (Jiri Olsa)
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      4b0c53e9
    • Peter Zijlstra's avatar
      perf: Fix running time accounting · 00a2916f
      Peter Zijlstra authored
      A recent fix to the shadow timestamp inadvertly broke the running time
      accounting.
      
      We must not update the running timestamp if we fail to schedule the
      event, the event will not have ran. This can (and did) result in
      negative total runtime because the stopped timestamp was before the
      running timestamp (we 'started' but never stopped the event -- because
      it never really started we didn't have to stop it either).
      Reported-and-Tested-by: default avatarVince Weaver <vincent.weaver@maine.edu>
      Fixes: 72f669c0 ("perf: Update shadow timestamp before add event")
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: stable@vger.kernel.org # 4.1
      Cc: Shaohua Li <shli@fb.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      00a2916f
  7. 26 Jul, 2015 4 commits