summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/Build
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-10-13 18:37:11 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-10-24 11:07:36 -0300
commit5fef5f3f096d4852d63239836d0e57a0861f9b73 (patch)
tree3a11ae2cbceceb0eaf6a611165512828629e6e35 /tools/perf/util/Build
parentef2c3e76d98dfb69a46d870b47656e8e5bac6e2b (diff)
downloadlinux-stable-5fef5f3f096d4852d63239836d0e57a0861f9b73.tar.gz
linux-stable-5fef5f3f096d4852d63239836d0e57a0861f9b73.tar.bz2
linux-stable-5fef5f3f096d4852d63239836d0e57a0861f9b73.zip
perf jit: Add NT_GNU_BUILD_ID definition for older distros
Such as CentOS5, where such define is not present in elf.h. This file, genelf.c, wasn't being built for several systems, because it mistakenly was conditional on some DWARF features, now that it is just needing libelf, after "perf jit: Enable jitdump support without dwarf" it fails. So, as preparation for "perf jit: Enable jitdump support without dwarf", conditionally define it, if not available. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Anton Blanchard <anton@ozlabs.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Maciej Debski <maciejd@google.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-k09qay1cmr0l3fzprmztzy3o@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/Build')
0 files changed, 0 insertions, 0 deletions