1. 11 Dec, 2013 2 commits
    • Peter Zijlstra's avatar
      perf: Optimize ring-buffer write by depending on control dependencies · c7f2e3cd
      Peter Zijlstra authored
      Remove a full barrier from the ring-buffer write path by relying on
      a control dependency to order a LOAD -> STORE scenario.
      
      Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
      Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Link: http://lkml.kernel.org/n/tip-8alv40z6ikk57jzbaobnxrjl@git.kernel.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      c7f2e3cd
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · 81393214
      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:
      
        * Add an option in 'perf script' to print the source line number, from Adrian Hunter
      
        * Add --header/--header-only options to 'script' and 'report', the default is not
          tho show the header info, but as this has been the default for some time,
          leave a single line explaining how to obtain that information, from Jiri Olsa.
      
        * Fix symoff printing in callchains in 'perf script', from Adrian Hunter.
      
        * Assorted mmap_pages handling fixes, from Adrian Hunter.
      
        * Fix summary percentage when processing files in 'perf trace', from David Ahern.
      
        * Handle old kernels where the "raw_syscalls" tracepoints were called plan "syscalls",
          in 'perf trace', from David Ahern.
      
        * Several man pages typo fixes from Dongsheng Yang.
      
        * Add '-v' option to 'perf kvm', from Dongsheng Yang.
      
        * Make perf kvm diff support --guestmount, from Dongsheng Yang.
      
        * Get rid of several die() calls in libtraceevent, from Namhyung Kim.
      
        * Use basename() in a more robust way, to avoid problems related to different
          system library implementations for that function, from Stephane Eranian.
      
        * Remove open coded management of short_name_allocated member, from Adrian Hunter
      
        * Several cleanups in the "dso" methods, constifying some parameters and
          renaming some fields to clarify its purpose. (Arnaldo Carvalho de Melo.)
      
        * Add per-feature check flags, fixing libunwind related build problems on some
          architectures, from Jean Pihet.
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      81393214
  2. 10 Dec, 2013 14 commits
  3. 09 Dec, 2013 17 commits
  4. 06 Dec, 2013 1 commit
    • Steven Rostedt's avatar
      tools lib traceevent: Report better error message on bad function args · 3a3ffa2e
      Steven Rostedt authored
      When Jiri Olsa was writing a function callback for
      scsi_trace_parse_cdb(), he thought that the traceevent library had a
      bug in it because he was getting this error:
      
        Error: expected ')' but read ','
        Error: expected ')' but read ','
        Error: expected ')' but read ','
        Error: expected ')' but read ','
      
      But in truth, he didn't have the write number of arguments for the
      function callback, and the error was the library detecting the
      discrepancy. A better error message would have prevented the confusion:
      
        Error: function 'scsi_trace_parse_cdb()' only expects 2 arguments but event scsi_dispatch_cmd_timeout has more
        Error: function 'scsi_trace_parse_cdb()' only expects 2 arguments but event scsi_dispatch_cmd_start has more
        Error: function 'scsi_trace_parse_cdb()' only expects 2 arguments but event scsi_dispatch_cmd_error has more
        Error: function 'scsi_trace_parse_cdb()' only expects 2 arguments but event scsi_dispatch_cmd_done has more
      
      Or
      
        Error: function 'scsi_trace_parse_cdb()' expects 4 arguments but event scsi_dispatch_cmd_timeout only uses 3
        Error: function 'scsi_trace_parse_cdb()' expects 4 arguments but event scsi_dispatch_cmd_start only uses 3
        Error: function 'scsi_trace_parse_cdb()' expects 4 arguments but event scsi_dispatch_cmd_error only uses 3
        Error: function 'scsi_trace_parse_cdb()' expects 4 arguments but event scsi_dispatch_cmd_done only uses 3
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Link: http://lkml.kernel.org/n/tip-a4c34w62vl0diitvxb7bt3er@git.kernel.orgSigned-off-by: default avatarJiri Olsa <jolsa@redhat.com>
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      3a3ffa2e
  5. 05 Dec, 2013 4 commits
  6. 04 Dec, 2013 2 commits