diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-05 14:33:41 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-06 13:44:28 +0000 |
| commit | bd0419e2a5a9fd9396cb7dc69044f961f52e19f0 (patch) | |
| tree | 423dfe14e53f53206ce4e07006c417322ac8ff5f /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf config: Fix build with older toolchain. (diff) | |
| download | kernel-bd0419e2a5a9fd9396cb7dc69044f961f52e19f0.tar.gz kernel-bd0419e2a5a9fd9396cb7dc69044f961f52e19f0.zip | |
perf probe: Check if dwarf_getlocations() is available
If not, tell the user that:
config/Makefile:273: Old libdw.h, finding variables at given 'perf probe' point will not work, install elfutils-devel/libdw-dev >= 0.157
And return -ENOTSUPP in die_get_var_range(), failing features that
need it, like the one pointed out above.
This fixes the build on older systems, such as Ubuntu 12.04.5.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Vinson Lee <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
