aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-10-29 15:06:46 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-10-31 14:17:48 +0000
commitd30ff29562ecbf79e82df72724d0c6180f2e2c06 (patch)
treed3c44fcf3169a5eb64fc77b2c9a3e186141ee75b /tools/perf/util/annotate.c
parentperf/x86: Fix sparse warnings (diff)
downloadkernel-d30ff29562ecbf79e82df72724d0c6180f2e2c06.tar.gz
kernel-d30ff29562ecbf79e82df72724d0c6180f2e2c06.zip
perf tools: Warn about missing libelf
When perf detects no libelf during the build, it'll use internal mini elf parser instead of libelf. But as it only supports minimal functionalities, it also disables support to 'probe' builtin command. Currently it didn't warned to user. Fix it. $ sudo apt-get remove libelf-dev $ make CHK -fstack-protector-all CHK -Wstack-protector CHK -Wvolatile-register-var CHK bionic CHK libelf CHK glibc Makefile:491: No libelf found, disables 'probe' tool, please install elfutils-libelf-devel/libelf-dev CHK libunwind CHK libaudit $ make NO_LIBELF=1 CHK -fstack-protector-all CHK -Wstack-protector CHK -Wvolatile-register-var CHK bionic CHK libaudit Reported-by: Peter Zijlstra <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/n/[email protected] [ committer note: The package needed is elfutils-libelf-devel, not elfutils-devel ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions