perf evsel: Remove symbol_conf usage
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Apr 2016 17:56:06 +0000 (14:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Apr 2016 17:56:06 +0000 (14:56 -0300)
commitde446b40d5ddb2c3f1fe453ac405543663f9ac5d
tree8596b0b8376fe159dfb4973dd950d28f6f235799
parent91d7b2de318ff701451dfc7ede1c029b150ef0e9
perf evsel: Remove symbol_conf usage

  # perf test -v python
  16: Try 'import perf' in python, checking link problems      :
  --- start ---
  test child forked, pid 672
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  ImportError: /tmp/build/perf/python/perf.so: undefined symbol:
  symbol_conf
  test child finished with -1
  ---- end ----
  Try 'import perf' in python, checking link problems: FAILED!
  #

To fix it just pass a parameter to perf_evsel__fprintf_sym telling if
callchains should be printed.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-comrsr20bsnr8bg0n6rfwv12@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h
This page took 0.028679 seconds and 5 git commands to generate.