• Arnaldo Carvalho de Melo's avatar
    perf jitdump: DWARF is also needed · 46dad054
    Arnaldo Carvalho de Melo authored
    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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    46dad054
builtin-inject.c 22.4 KB