]> git.baikalelectronics.ru Git - kernel.git/commit
perf symbols: Support minimal build without libelf
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 6 Aug 2012 04:41:21 +0000 (13:41 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Aug 2012 19:26:38 +0000 (16:26 -0300)
commitadea42f900c79f3658369a67ea70b93c5780fc85
tree6cdc2568e3a6a485f8bbf3d0f94f83873daad3a7
parentc3ef26a6fb6658cac9ea77180d9aba6c3c79e929
perf symbols: Support minimal build without libelf

Now we have isolated all ELF-specific stuff, it's possible to build
without libelf. The output binary can do most of jobs but lacks (user
level) symbol information - kernel symbols are still accessable thanks
to the kallsyms.

To build perf without libelf (elfutils), give NO_LIBELF=1 to make.

For now, only 'perf probe' command is removed since it depends on
libelf/libdw heavily.

Signed-off-by: Namhyung Kim <namhyung@kernel.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/1344228082-15569-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/builtin-inject.c
tools/perf/command-list.txt
tools/perf/perf.c
tools/perf/util/generate-cmdlist.sh
tools/perf/util/map.c
tools/perf/util/symbol-minimal.c [new file with mode: 0644]