1. 24 Aug, 2012 1 commit
  2. 23 Aug, 2012 5 commits
  3. 22 Aug, 2012 11 commits
  4. 21 Aug, 2012 3 commits
    • Ingo Molnar's avatar
      Merge branch 'tip/perf/core-2' of... · a0e0fac6
      Ingo Molnar authored
      Merge branch 'tip/perf/core-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/core
      
      Pull ftrace fixlets from Steve Rostedt.
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      a0e0fac6
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · bcada3d4
      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:
      
       * Fix include order for bison/flex-generated C files, from Ben Hutchings
      
       * Build fixes and documentation corrections from David Ahern
      
       * Group parsing support, from Jiri Olsa
      
       * UI/gtk refactorings and improvements from Namhyung Kim
      
       * NULL deref fix for perf script, from Namhyung Kim
      
       * Assorted cleanups from Robert Richter
      
       * Let O= makes handle relative paths, from Steven Rostedt
      
       * perf script python fixes, from Feng Tang.
      
       * Improve 'perf lock' error message when the needed tracepoints
         are not present, from David Ahern.
      
       * Initial bash completion support, from Frederic Weisbecker
      
       * Allow building without libelf, from Namhyung Kim.
      
       * Support DWARF CFI based unwind to have callchains when %bp
         based unwinding is not possible, from Jiri Olsa.
      
       * Symbol resolution fixes, while fixing support PPC64 files with an .opt ELF
         section was the end goal, several fixes for code that handles all
         architectures and cleanups are included, from Cody Schafer.
      
       * Add a description for the JIT interface, from Andi Kleen.
      
       * Assorted fixes for Documentation and build in 32 bit, from Robert Richter
      
       * Add support for non-tracepoint events in perf script python, from Feng Tang
      
       * Cache the libtraceevent event_format associated to each evsel early, so that we
         avoid relookups, i.e. calling pevent_find_event repeatedly when processing
         tracepoint events.
      
         [ This is to reduce the surface contact with libtraceevents and make clear what
           is that the perf tools needs from that lib: so far parsing the common and per
           event fields. ]
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      bcada3d4
    • Ingo Molnar's avatar
      Merge branch 'tip/perf/core' of... · 26198c21
      Ingo Molnar authored
      Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/core
      
      Pull ftrace updates from Steve Rostedt:
      
      " This patch series extends ftrace function tracing utility to be
        more dynamic for its users. It allows for data passing to the callback
        functions, as well as reading regs as if a breakpoint were to trigger
        at function entry.
      
        The main goal of this patch series was to allow kprobes to use ftrace
        as an optimized probe point when a probe is placed on an ftrace nop.
        With lots of help from Masami Hiramatsu, and going through lots of
        iterations, we finally came up with a good solution. "
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      26198c21
  5. 20 Aug, 2012 7 commits
  6. 17 Aug, 2012 7 commits
  7. 16 Aug, 2012 2 commits
  8. 15 Aug, 2012 2 commits
  9. 14 Aug, 2012 2 commits
    • Jiri Olsa's avatar
      perf test: Add automated tests for event group parsing · 905f5ee2
      Jiri Olsa authored
      Adding 5 more tests for new event group syntax. Tests are executed
      within the 'perf test parse' test suite.
      Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
      Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
      Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ulrich Drepper <drepper@gmail.com>
      Link: http://lkml.kernel.org/n/tip-dmhsv8mpoksx2wp97balqiem@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      905f5ee2
    • Jiri Olsa's avatar
      perf tools: Enable grouping logic for parsed events · 6a4bb04c
      Jiri Olsa authored
      This patch adds a functionality that allows to create event groups
      based on the way they are specified on the command line. Adding
      functionality to the '{}' group syntax introduced in earlier patch.
      
      The current '--group/-g' option behaviour remains intact. If you
      specify it for record/stat/top command, all the specified events
      become members of a single group with the first event as a group
      leader.
      
      With the new '{}' group syntax you can create group like:
        # perf record -e '{cycles,faults}' ls
      
      resulting in single event group containing 'cycles' and 'faults'
      events, with cycles event as group leader.
      
      All groups are created with regards to threads and cpus. Thus
      recording an event group within a 2 threads on server with
      4 CPUs will create 8 separate groups.
      
      Examples (first event in brackets is group leader):
      
        # 1 group (cpu-clock,task-clock)
        perf record --group -e cpu-clock,task-clock ls
        perf record -e '{cpu-clock,task-clock}' ls
      
        # 2 groups (cpu-clock,task-clock) (minor-faults,major-faults)
        perf record -e '{cpu-clock,task-clock},{minor-faults,major-faults}' ls
      
        # 1 group (cpu-clock,task-clock,minor-faults,major-faults)
        perf record --group -e cpu-clock,task-clock -e minor-faults,major-faults ls
        perf record -e '{cpu-clock,task-clock,minor-faults,major-faults}' ls
      
        # 2 groups (cpu-clock,task-clock) (minor-faults,major-faults)
        perf record -e '{cpu-clock,task-clock} -e '{minor-faults,major-faults}' \
         -e instructions ls
      
        # 1 group
        # (cpu-clock,task-clock,minor-faults,major-faults,instructions)
        perf record --group -e cpu-clock,task-clock \
         -e minor-faults,major-faults -e instructions ls perf record -e
      '{cpu-clock,task-clock,minor-faults,major-faults,instructions}' ls
      
      It's possible to use standard event modifier for a group, which spans
      over all events in the group and updates each event modifier settings,
      for example:
      
        # perf record -r '{faults:k,cache-references}:p'
      
      resulting in ':kp' modifier being used for 'faults' and ':p' modifier
      being used for 'cache-references' event.
      Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
      Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
      Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ulrich Drepper <drepper@gmail.com>
      Link: http://lkml.kernel.org/n/tip-ho42u0wcr8mn1otkalqi13qp@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      6a4bb04c