]> asedeno.scripts.mit.edu Git - linux.git/commit
perf symbols: Store the ELF symbol type in the symbol struct
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 14:09:10 +0000 (11:09 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 16:47:18 +0000 (13:47 -0300)
commitaf30bffa2f9aa73a648ea932ed468dc3031ac1f9
tree61db7980d38450b1c88fb836121e0345683f1c05
parente1f2a0d0f2d80c7fedb5f910367bc12d02e914a7
perf symbols: Store the ELF symbol type in the symbol struct

There is code that needs to see if a resolved address is a function, so,
since we're going to ditch the MAP__{FUNCTION,VARIABLE} split, store
that info in the per symbol struct.

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: https://lkml.kernel.org/n/tip-9ugwxz0i8ryg5702rx8u5q6z@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/hists_common.c
tools/perf/util/db-export.c
tools/perf/util/srcline.c
tools/perf/util/symbol-elf.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h