1. 12 6月, 2014 4 次提交
  2. 09 6月, 2014 2 次提交
    • A
      perf tests: Show the inner make output when an error happens · a5c5009f
      Arnaldo Carvalho de Melo 提交于
      Before:
      
        [acme@zoo linux]$ make -C tools/perf -f tests/make make_static
        make: Entering directory `/home/git/linux/tools/perf'
        - make_static: cd . && make -f Makefile DESTDIR=/tmp/tmp.JcWuM4Zu9f LDFLAGS=-static
        make: *** [make_static] Error 1
        make: Leaving directory `/home/git/linux/tools/perf'
        [acme@zoo linux]$
      
      After:
      
        [acme@zoo linux]$ make -C tools/perf -f tests/make make_static
        make: Entering directory `/home/git/linux/tools/perf'
        - make_static: cd . && make -f Makefile DESTDIR=/tmp/tmp.X3su83i14u LDFLAGS=-static
        cd . && make -f Makefile DESTDIR=/tmp/tmp.X3su83i14u LDFLAGS=-static
          BUILD:   Doing 'make -j4' parallel build
        config/Makefile:303: *** No static glibc found, please install glibc-static.  Stop.
        make[1]: *** [all] Error 2
          test: test -x ./perf
        make: Leaving directory `/home/git/linux/tools/perf'
        [acme@zoo linux]$
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Don Zickus <dzickus@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      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-h4kby5wyp6nfev3882rzm3r9@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      a5c5009f
    • D
      Revert "perf: Disable PERF_RECORD_MMAP2 support" · a5a5ba72
      Don Zickus 提交于
      This reverts commit 3090ffb5.
      
      Re-enable the mmap2 interface as we will have a user soon.
      
      Since things have changed since perf disabled mmap2, small tweaks
      to the revert had to be done:
      
      o commit 9d4ecc88 forced (n!=8) to become (n<7)
      o a new libunwind test needed updating to use mmap2 interface
      Signed-off-by: NDon Zickus <dzickus@redhat.com>
      Link: http://lkml.kernel.org/r/1401461382-209586-1-git-send-email-dzickus@redhat.comSigned-off-by: NJiri Olsa <jolsa@kernel.org>
      a5a5ba72
  3. 01 6月, 2014 6 次提交
  4. 21 5月, 2014 2 次提交
  5. 16 5月, 2014 1 次提交
  6. 13 5月, 2014 1 次提交
  7. 12 5月, 2014 1 次提交
  8. 02 5月, 2014 1 次提交
  9. 30 4月, 2014 1 次提交
    • J
      perf tests: Add static build make test · 611ec127
      Jiri Olsa 提交于
      Adding test for building static perf build into the automated
      suite. Also available via following commands:
      
        $ make -f tests/make make_static
        - make_static: cd . && make -f Makefile DESTDIR=/tmp/tmp.7u5MlB4njo LDFLAGS=-static
        $ make -f tests/make make_static_O
        - make_static_O: cd . && make -f Makefile O=/tmp/tmp.Ay6r3wEmtX DESTDIR=/tmp/tmp.vK0KQwO0Vi LDFLAGS=-static
      Acked-by: NDavid Ahern <dsahern@gmail.com>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      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/1398760413-7574-1-git-send-email-jolsa@kernel.orgSigned-off-by: NJiri Olsa <jolsa@kernel.org>
      611ec127
  10. 29 4月, 2014 2 次提交
  11. 28 4月, 2014 4 次提交
  12. 15 4月, 2014 1 次提交
  13. 19 3月, 2014 1 次提交
  14. 15 3月, 2014 1 次提交
  15. 24 2月, 2014 3 次提交
  16. 18 2月, 2014 4 次提交
  17. 01 2月, 2014 1 次提交
  18. 15 1月, 2014 1 次提交
  19. 13 1月, 2014 3 次提交
    • A
      perf tools: Add test for building detached source tarballs · 48878053
      Arnaldo Carvalho de Melo 提交于
      Test one of the main kernel Makefile targets to generate a perf sources
      tarball suitable for build outside the full kernel sources.
      
      This is to test that the tools/perf/MANIFEST file lists all the files
      needed to be in such tarball, which sometimes gets broken when we move
      files around, like when we made some files that were in tools/perf/
      available to other tools/ codebases by moving it to tools/include/, etc.
      
      Now everytime we use 'make -C tools/perf -f tests/make' this test will
      be performed, helping detect such problems earlier in the devel cycle.
      
      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-gyivwbbu2j7c4j4pwpmttg2p@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      48878053
    • A
      perf evlist: Introduce evlist__for_each() & friends · 0050f7aa
      Arnaldo Carvalho de Melo 提交于
      For the common evsel list traversal, so that it becomes more compact.
      
      Use the opportunity to start ditching the 'perf_' from 'perf_evlist__',
      as discussed, as the whole conversion touches a lot of places, lets do
      it piecemeal when we have the chance due to other work, like in this
      case.
      
      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-qnkx7dzm2h6m6uptkfk03ni6@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      0050f7aa
    • J
      perf tests: Fix installation tests path setup · f7c64474
      Jiri Olsa 提交于
      Currently installation tests work only over x86_64, adding arch check to
      make it work over i386 as well.
      
      NOTE looks like x86 is the only arch running tests, we need some
      IS_(32/64) flag to make this generic.
      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: 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/1388759553-12974-2-git-send-email-jolsa@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      f7c64474