tools lib symbol: Introduce kallsyms2elf_type
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 16:02:08 +0000 (13:02 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 21:34:31 +0000 (18:34 -0300)
commitf845086a8ed49e657a750f87f85966d75c8a9645
tree6906bb7ff3aba3620ccd69e423101e403e63d436
parent8e947f1e84fd1588f66e5f2ea69c80647de72cd4
tools lib symbol: Introduce kallsyms2elf_type

Map 't', 'T' (text, local, global), 'w' and 'W' (weak text, local,
global) as STT_FUNC, and the rest as STT_OBJECT

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-sbwcixulpc5v1xuxn3xvm0nn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/symbol/kallsyms.c
tools/lib/symbol/kallsyms.h