]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib symbol: Rename kallsyms2elf_type to kallsyms2elf_binding
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 15:42:07 +0000 (12:42 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 21:34:30 +0000 (18:34 -0300)
commit4bc59cfdeb3e0662145bc64e738a380c48319653
tree8631e064b3a22a96b48970964b9b88887a8eaf4c
parentd43a4f89f1ba0bf631e43264c4849b37b879b240
tools lib symbol: Rename kallsyms2elf_type to kallsyms2elf_binding

It is about binding, not type, we have just a letter in kallsyms that
should map both for the ELF type (STT_FUNC, etc) and to the ELF
symbol binding (STB_WEAK, STB_GLOBAL, etc), so rename it now before
introducing kallsyms2_elf_type()

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-uu5vj343ms1q2wm55690on6v@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/symbol/kallsyms.h
tools/perf/util/symbol.c