1. 16 1月, 2014 5 次提交
  2. 15 1月, 2014 3 次提交
    • A
      perf record: Rename --initial-delay to --delay · a6205a35
      Arnaldo Carvalho de Melo 提交于
      To be consistent with the equivalent option in 'stat', also, for the
      same reason, use -D as the one letter alias.
      Suggested-by: NIngo Molnar <mingo@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-p5yjnopajb3a8x0xha7yl5w8@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      a6205a35
    • A
      perf record: Rename --no-delay to --no-buffering · 509051ea
      Arnaldo Carvalho de Melo 提交于
      That is how the option summary describes it and so that we can free
      --delay to replace --initial-delay and then be consistent with stat's
      --delay equivalent option.
      Suggested-by: NIngo Molnar <mingo@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-f8hd2010uhjl2zzb34hepbmi@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      509051ea
    • I
      Merge tag 'perf-core-for-mingo' of... · 19774998
      Ingo Molnar 提交于
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
      
      Pull perf tooling updates from Arnaldo Carvalho de Melo:
      
      New features:
      
       * perf record: Add --initial-delay option (Andi Kleen)
      
       * Column colouring improvements in 'diff' (Ramkumar Ramachandra)
      
      Fixes:
      
       * Don't show counter information when workload fails (Arnaldo Carvalho de Melo)
      
       * Fixup leak on error path in parse events test. (Arnaldo Carvalho de Melo)
      
       * Fix --delay option in 'stat' man page (Andi Kleen)
      
       * Use the DWARF unwind info only if loaded (Jean Pihet):
      
      Developer stuff:
      
       * Improve forked workload error reporting by sending the errno in the signal
         data queueing integer field, using sigqueue and by doing the signal setup in
         the evlist methods, removing open coded equivalents in various tools. (Arnaldo Carvalho de Melo)
      
       * Do more auto exit cleanup shores in the 'evlist' destructor, so that the tools
         don't have to all do that sequence. (Arnaldo Carvalho de Melo)
      
       * Pack 'struct perf_session_env' and 'struct trace' (Arnaldo Carvalho de Melo)
      
       * Include tools/lib/api/ in MANIFEST, fixing detached tarballs (Arnaldo Carvalho de Melo)
      
       * Add test for building detached source tarballs (Arnaldo Carvalho de Melo)
      
       * Shut up libtracevent plugins make message (Jiri Olsa)
      
       * Fix installation tests path setup (Jiri Olsa)
      
       * Fix id_hdr_size initialization (Jiri Olsa)
      
       * Move some header files from tools/perf/ to tools/include/ to make them available to
         other tools/ dwelling codebases (Namhyung Kim)
      
       * Fix 'probe' build when DWARF support libraries not present (Arnaldo Carvalho de Melo)
      
      Refactorings:
      
       * Move logic to warn about kptr_restrict'ed kernels to separate
         function in 'report' (Arnaldo Carvalho de Melo)
      
       * Move hist browser selection code to separate function (Arnaldo Carvalho de Melo)
      
       * Move histogram entries collapsing to separate function (Arnaldo Carvalho de Melo)
      
       * Introduce evlist__for_each() & friends (Arnaldo Carvalho de Melo)
      
       * Automate setup of FEATURE_CHECK_(C|LD)FLAGS-all variables (Jiri Olsa)
      
       * Move arch setup into seprate Makefile (Jiri Olsa)
      
      Trivial stuff:
      
       * Remove misplaced __maybe_unused in 'stat' (Arnaldo Carvalho de Melo)
      
       * Remove old evsel_list usage in 'record' (Arnaldo Carvalho de Melo)
      
       * Comment typo fix (Cody P Schafer)
      
       * Remove unused test-volatile-register-var.c (Yann Droneaud)
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      19774998
  3. 14 1月, 2014 2 次提交
    • Y
      perf tools: Remove unused test-volatile-register-var.c · 26f7f987
      Yann Droneaud 提交于
      Since commit 01287e2c, test-volatile-register-var.c is no more built
      as part of the automatic feature check.
      
      This patch remove the unneeded file.
      Signed-off-by: NYann Droneaud <ydroneaud@opteya.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/339d86ad76741ed929defd18541f774b404003b4.1389461371.git.ydroneaud@opteya.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      26f7f987
    • A
      perf probe: Fix build when DWARF support libraries not present · 1d027ee9
      Arnaldo Carvalho de Melo 提交于
      On a freshly installed system, after libelf-dev is installed we get:
      
          CC       /tmp/build/perf/util/probe-event.o
        util/probe-event.c: In function ‘try_to_find_probe_trace_events’:
        util/probe-event.c:753:46: error: unused parameter ‘target’ [-Werror=unused-parameter]
             int max_tevs __maybe_unused, const char *target)
                                                      ^
          CC       /tmp/build/perf/util/cgroup.o
        util/probe-event.c: At top level:
        util/probe-event.c:193:12: error: ‘get_text_start_address’ defined but not used [-Werror=unused-function]
         static int get_text_start_address(const char *exec, unsigned long *address)
                  ^
        cc1: all warnings being treated as errors
        make[1]: *** [/tmp/build/perf/util/probe-event.o] Error 1
        make[1]: *** Waiting for unfinished jobs....
        make: *** [install] Error 2
      
      Fix it by enclosing functions only used when those libraries are installed
      under the suitable preprocessor define and using __maybe_unused to a function
      that is only built when DWARF support is disabled.
      
      Problem introduced in this changeset:
      
        commit fb7345bb
        Author: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
        Date:   Thu Dec 26 05:41:53 2013 +0000
      
            perf probe: Support basic dwarf-based operations on uprobe events
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-73kc2fopt81517hrdgdra18o@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      1d027ee9
  4. 13 1月, 2014 30 次提交