]> asedeno.scripts.mit.edu Git - linux.git/commit
perf thread: Make thread__find_symbol() return the symbol searched
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Apr 2018 15:05:48 +0000 (12:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 16:47:09 +0000 (13:47 -0300)
commitd9a5f274603bea1c89d59baaf37eef8f57851a09
tree9fb317feda343722a5152bbf4f1e38d67cdd2bf8
parent71a84b5aedf5023f4009c3bbf28ecba256201f87
perf thread: Make thread__find_symbol() return the symbol searched

Instead of just returning it in al.sym, allowing for some simplification
in its users, and to make it consistent with thread__find_map().

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-4axi2sigslffdixzxbehvgoj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-timechart.c
tools/perf/util/event.c
tools/perf/util/thread.h
tools/perf/util/unwind-libunwind-local.c