1. 23 6月, 2016 2 次提交
    • T
      perf config: Move config declarations from util/cache.h to util/config.h · 41840d21
      Taeung Song 提交于
      Lately util/config.h has been added but util/cache.h has declarations of
      functions and a global variable for config features.
      
      To manage codes about configuration at one spot, move them to
      util/config.h and let source files that need config features include
      config.h And if the source files that included previous cache.h need
      only config.h, remove including cache.h.
      Signed-off-by: NTaeung Song <treeze.taeung@gmail.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/r/1466672119-4852-2-git-send-email-treeze.taeung@gmail.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      41840d21
    • H
      perf tools: Let python use correct gcc for build_ext · 48d8d5db
      He Kuang 提交于
      Currently, python uses host gcc instead of cross-compile gcc in the last
      step of compiling build_ext(remove '--quiet' to show verbose):
      
        cross-gcc ...
        cross-gcc ...
        creating ~/out/python_ext_build/lib
        gcc -pthread -shared -Wl,-z ...
      
      This is wrong but may not cause any errors unless the features detected
      by cross-compiler do not match those for host compiler, and causes the
      following errors:
      
        /usr/lib64/gcc/bin/ld: cannot find -lunwind-x86
        collect2: error: ld returned 1 exit status
        error: command 'gcc' failed with exit status 1
        cp: cannot stat ‘~/out/python_ext_build/lib/perf.so’: No such file or directory
        Makefile.perf:257: recipe for target '~/out/python/perf.so' failed
        make[1]: *** [~/out/python/perf.so] Error 1
        Makefile:68: recipe for target 'all' failed
        make: *** [all] Error 2
      
      This issue is also reported and anwsered on stackoverflow.
      Link: http://stackoverflow.com/questions/5986256/python-distutils-gcc-pathSigned-off-by: NHe Kuang <hekuang@huawei.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Josh Poimboeuf <jpoimboe@redhat.com>
      Cc: Kan Liang <kan.liang@intel.com>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Pekka Enberg <penberg@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/r/1466578626-92406-5-git-send-email-hekuang@huawei.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      48d8d5db
  2. 22 6月, 2016 22 次提交
  3. 16 6月, 2016 3 次提交
  4. 15 6月, 2016 11 次提交
  5. 14 6月, 2016 2 次提交