summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-inject.txt
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2012-10-26 17:55:52 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-10-26 11:22:24 -0200
commitfcc328032e7382bf413517ee4dddf1eca7970fe4 (patch)
tree5e4d4c7be3d76ecf692ad0e0ed5cc2a1f37356db /tools/perf/Documentation/perf-inject.txt
parentcf3aa103555136c04894058152b129c133ebf350 (diff)
perf tools: Fix LIBELF_MMAP checking
Currently checking mmap support in libelf failed due to wrong flags. CHK libelf CHK libdw CHK libunwind CHK -DLIBELF_MMAP /tmp/ccYJwdR0.o: In function `main': :(.text+0x18): undefined reference to `elf_begin' collect2: error: ld returned 1 exit status This cannot happen since we checked the elf_begin() when checking libelf and it succeeded. Fix it by using a same flag with libelf checking. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Borislav Petkov <bp@amd64.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1351241752-2919-5-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-inject.txt')
0 files changed, 0 insertions, 0 deletions