]> git.baikalelectronics.ru Git - kernel.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)
commit43bfd0efaff890f019007bca3622357ea6a0964a
treea8238a71745133edaf91427fed4c6894bf0ec5a3
parent338a91bc05f751969ed94a9e2e23c60bf0bbf0ab
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