perf: Make perf_callchain function static
authorJiri Olsa <jolsa@kernel.org>
Sun, 7 Jan 2018 16:03:49 +0000 (17:03 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 8 Jan 2018 15:33:01 +0000 (12:33 -0300)
commit8cf7e0e22414f5acf85ecb7cd0d4482e6c9696ae
tree1fd72714d9a85843238105fafc6b0439f4f327f1
parent81df978c49379481716aef591de77313c286d747
perf: Make perf_callchain function static

And move it to core.c, because there's no caller of this function other
than the one in core.c

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180107160356.28203-6-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
kernel/events/callchain.c
kernel/events/core.c
kernel/events/internal.h