1. 04 11月, 2013 1 次提交
  2. 23 10月, 2013 1 次提交
  3. 14 10月, 2013 4 次提交
    • I
      tools/perf/build: Remove the volatile-register-var feature check · 01287e2c
      Ingo Molnar 提交于
      Namhyung Kim noticed that the volatile-register-var feature check
      is superfluous:
      
       > The gcc manpage says this warning is enabled by -Wall, and we add -Wall
       > to CFLAGS before doing feature checks.  So all gcc versions that support
       > -Wvolatile-register-var enables it by default without this check and
       > older gcc versions will always fail the feature check.
      
      Remove it - this will further speed up feature checks.
      Reported-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      01287e2c
    • I
      tools/perf/build: Simplify the libelf logic · 5f36978c
      Ingo Molnar 提交于
      Ulrich Drepper and Namhyung Kim reported that the libelf logic in
      config/Makefile is duplicated in part.
      
      Remove the duplication, and also remove the now unused FLAGS_LIBELF
      variable.
      Reported-by: NUlrich Drepper <drepper@gmail.com>
      Reported-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      5f36978c
    • I
      tools/perf/build: Pass through DEBUG parameter · fcf92585
      Ingo Molnar 提交于
      Arnaldo reported that 'make DEBUG=1' does not work anymore.
      
      The reason is that 'Makefile' only passes it through to
      'Makefile.perf' via the environment, but 'Makefile.perf'
      checks that it's a command line option:
      
          ifeq ("$(origin DEBUG)", "command line")
            PERF_DEBUG = $(DEBUG)
          endif
      
      So pass it through properly, and also clean up DEBUG parameter
      handling while at it and fix a couple of annoyances:
      
       - DEBUG=0 used to be interpreted as 'debugging on'. Turn it
         into 'debugging off' instead.
      
       - Same was the case for 'DEBUG=' - turn that into debug-off
         as well.
      
       - Pass in just a clean, sanitized 'DEBUG' value and get rid of
         the intermediate, unnecessary PERF_DEBUG variable.
      Reported-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      fcf92585
    • J
      perf tools: Separate lbfd check out of NO_DEMANGLE condition · 3e6a147d
      Jiri Olsa 提交于
      We fail build with NO_DEMANGLE with missing -lbfd externals error.
      The reason is that we now use bfd code in srcline object:
        perf tools: Implement addr2line directly using libbfd
      
      So we need to check/add -lbfd always now.
      Signed-off-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@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: Arnaldo Carvalho de Melo <acme@redhat.com>
      3e6a147d
  4. 11 10月, 2013 1 次提交
  5. 10 10月, 2013 2 次提交
  6. 09 10月, 2013 31 次提交