]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf jitdump: DWARF is also needed
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Mar 2016 21:48:45 +0000 (18:48 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Mar 2016 13:29:03 +0000 (10:29 -0300)
commit46dad054a19297af65c417c97cb920aa5bdf7e8c
treea8238a71745133edaf91427fed4c6894bf0ec5a3
parent3a99e6db539e53cc9c79282e80f8362b0cb96ac8
perf jitdump: DWARF is also needed

While building on a Docker container for ubuntu and installing package
by package one ends up with:

    MKDIR    /tmp/build/util/
    CC       /tmp/build/util/genelf.o
  util/genelf.c:22:19: fatal error: dwarf.h: No such file or directory
   #include <dwarf.h>
                   ^
  compilation terminated.
  mv: cannot stat '/tmp/build/util/.genelf.o.tmp': No such file or directory

Because the jitdump code needs the DWARF related development packages to
be installed. So make it dependent on that so that the build can succeed
without jitdump support.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Stephane Eranian <eranian@google.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-le498robnmxd40237wej3w62@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c
tools/perf/util/Build