1. 24 2月, 2014 3 次提交
    • J
      perf tools: Fix bison OUTPUT directories dependency · da237ed0
      Jiri Olsa 提交于
      The bison and flex C objects don't have dependency for creating output
      directories.
      
      This could lead to build failure if the one of those objects is picked
      up by make to be build as the first one (reported by Arnaldo).
      
      Also following make fails:
        $ rm -rf /tmp/krava; mkdir /tmp/krava; make O=/tmp/krava util/pmu-bison.o
        BUILD:   Doing 'make -j4' parallel build
        [ SNIP ]
        BISON    /tmp/krava/util/pmu-bison.c
        FLAGS:   * new build flags or prefix
      bison: /tmp/krava/util/pmu-bison.output: cannot open: No such file or directory
      make[1]: *** [/tmp/krava/util/pmu-bison.c] Error 1
      make[1]: *** Waiting for unfinished jobs....
      make: *** [util/pmu-bison.o] Error 2
      
      Adding bison objects dependency for output directories (flex objects
      depends on bisons').
      
      This fixies the make_util_pmu_bison_o_O make test.
      Reported-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.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>
      Link: http://lkml.kernel.org/r/1392805300-14610-3-git-send-email-jolsa@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      da237ed0
    • J
      perf tests: Add pmu-bison.o make test · 2a94f6c4
      Jiri Olsa 提交于
      Adding pmu-bison.o make test:
      
        $ make -f tests/make make_util_pmu_bison_o
        - make_util_pmu_bison_o: cd . && make -f Makefile DESTDIR=/tmp/tmp.0u99hQn8Ga util/pmu-bison.o
        $ make -f tests/make make_util_pmu_bison_o_O
        - make_util_pmu_bison_o_O: cd . && make -f Makefile O=/tmp/tmp.sWKDLGS71O DESTDIR=/tmp/tmp.htQNJAfJ0d util/pmu-bison.o
        make: *** [make_util_pmu_bison_o_O] Error 1
      
      The 'O=' version of the test is failing at the moment, due to the OUTPUT
      directory issue fixed in next patch.
      Signed-off-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.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>
      Link: http://lkml.kernel.org/r/1392805300-14610-2-git-send-email-jolsa@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      2a94f6c4
    • J
      perf tests: Fix *.o make tests · 04b01a1d
      Jiri Olsa 提交于
      Enable and fix *.o object make tests. Following tests are now available:
      
        $ make -f tests/make make_perf_o_O
        - make_perf_o_O: cd . && make -f Makefile O=/tmp/tmp.iF5vI5emGy DESTDIR=/tmp/tmp.epDPFVhH0s perf.o
        $ make -f tests/make make_util_map_o_O
        - make_util_map_o_O: cd . && make -f Makefile O=/tmp/tmp.BWuMf55ygC DESTDIR=/tmp/tmp.QbGBRF95oP util/map.o
      Signed-off-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.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>
      Link: http://lkml.kernel.org/r/1392805300-14610-1-git-send-email-jolsa@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      04b01a1d
  2. 23 2月, 2014 1 次提交
    • I
      Merge tag 'perf-core-for-mingo' of... · 7e74efcf
      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/core improvements and fixes from Arnaldo Carvalho de Melo:
      
      User Visible:
      
        * Allow setting preferred callchain method in .perfconfig (Jiri Olsa)
      
        * Show in what binaries/modules 'perf probe's are set (Masami Hiramatsu)
      
        * Support distro-style debuginfo for uprobe in 'perf probe' (Masami Hiramatsu)
      
      Developer stuff:
      
        * Move some hashing and fs related code from tools/perf/util/
          to tools/lib/ so that it can be used by more tools/ living
          utilities (Borislav Petkov)
      
        * Prepare DWARF unwinding code for using an elfutils alternative
          unwinding library (Jiri Olsa)
      
        * Fix DWARF unwind max_stack processing (Jiri Olsa)
      
        * Add dwarf unwind 'perf test' entry (Jiri Olsa)
      
        * 'perf probe' improvements including memory leak fixes,
          sharing the intlist class with other tools, uprobes/kprobes
          code sharing and use of ref_reloc_sym (Masami Hiramatsu)
      
        * Shorten sample symbol resolving by adding cpumode to
          struct addr_location (Arnaldo Carvalho de Melo)
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      7e74efcf
  3. 22 2月, 2014 9 次提交
  4. 18 2月, 2014 27 次提交