perf symbols: Provide a GElf_Nhdr typedef
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 14:04:13 +0000 (11:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:38 +0000 (15:20 -0300)
commitcc31078cf13f67c489ad6a5c48dea657f5f88d11
tree7b0c670edf962ee3ef4f0f0e99255c61cb058c3d
parent6e6fec966dcd9eb47952b39def2dee975f3502ff
perf symbols: Provide a GElf_Nhdr typedef

This one can be safely defined to be Elf64_Nhdr, as it is in elfutils's
libelf, but not on musl libc, as both Elf64_Nhdr and  Elf32_Nhdr have
the same layout.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.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-w8z8614l03lc8bip4ijbywbt@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c