1. 13 Aug, 2014 5 commits
    • Yan, Zheng's avatar
      perf/x86/uncore: Declare some functions and variables · 514b2346
      Yan, Zheng authored
      Prepare for moving hardware specific code to seperate files.
      Signed-off-by: default avatarYan, Zheng <zheng.z.yan@intel.com>
      Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: eranian@google.com
      Cc: andi@firstfloor.org
      Link: http://lkml.kernel.org/r/1406704935-27708-1-git-send-email-zheng.z.yan@intel.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      514b2346
    • Jiri Olsa's avatar
      perf: Add queued work to remove orphaned child events · fadfe7be
      Jiri Olsa authored
      In cases when the  owner task exits before the workload and the
      workload made some forks, all the events stay in until the last
      workload process exits. Thats' because each child event holds
      parent reference.
      
      We want to release all children events once the parent is gone,
      because at that time there's no process to read them anyway, so
      they're just eating resources.
      
      This removal  races with process exit, which removes all events
      and fork, which clone events.  To be clear of those two, adding
      work queue to remove orphaned child for context in case such
      event is detected.
      
      Using delayed work queue (with delay == 1), because we queue this
      work under perf scheduler callbacks. Normal work queue tries to wake
      up the queue process, which deadlocks on rq->lock in this place.
      
      Also preventing clones from abandoned parent event.
      Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
      Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/1406896382-18404-4-git-send-email-jolsa@kernel.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      fadfe7be
    • Jiri Olsa's avatar
      perf: Set owner pointer for kernel events · f8697762
      Jiri Olsa authored
      Adding fake EVENT_OWNER_KERNEL owner pointer value for kernel perf
      events, so we could distinguish it from user events, which needs
      special care in following patch.
      Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
      Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/1406896382-18404-3-git-send-email-jolsa@kernel.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      f8697762
    • Peter Zijlstra's avatar
      perf/x86/intel: Update Intel models · 0f7c29ce
      Peter Zijlstra authored
      The model number descriptions got a bit messy, clean them up.
      Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/n/tip-oo3xclxdoy8s7ubssn929vaj@git.kernel.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      0f7c29ce
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · 1a91eac6
      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:
      
      User visible fixes and changes:
      
        * Show better error message in case we fail to open counters due to EBUSY error,
          for instance, when oprofile is running. (Jiri Olsa)
      
        * Honour -w in the report tools (report, top), allowing to specify the widths
          for the histogram entries columns. (Namhyung Kim)
      
        * Don't run workload if not told to, as happens when the user has no
          permission for profiling and even then the specified workload ends
          up running (Arnaldo Carvalho de Melo)
      
        * Do not ignore mmap events in 'perf kmem report'. This tool was using
          the kernel mmaps in the running machine instead of processing the mmap
          records from the perf.data file. (Namhyung Kim)
      
        * Properly show submicrosecond times in 'perf kvm stat' (Christian Borntraeger)
      
        * Honour existing 'perf record' --time/-T command line option (Andi Kleen)
      
        * Make sure --symfs usage includes the path separator (Arnaldo Carvalho de Melo)
      
      Development infrastructure fixes and changes:
      
        * Fix arm64 build error (Mark Salter)
      
        * Fix make PYTHON override (Namhyung Kim)
      
        * Rename ordered_samples to ordered_events and allow setting a queue
          size for ordering events (Jiri Olsa)
      
        * Default to python version 2 (Thomas Ilsche)
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      1a91eac6
  2. 12 Aug, 2014 29 commits
  3. 08 Aug, 2014 1 commit
  4. 05 Aug, 2014 5 commits