perf report: No need to have report_callchain_help as a global
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 May 2018 17:34:40 +0000 (14:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:54 +0000 (10:28 -0300)
commit9d0199cd2a7a326510fc7f731d7974ef2fbc03d0
treeb551506caa2143106c1bfcee828e2f82933286dd
parente9ee0dce45e522221c18b2f24621a0d00d0bff40
perf report: No need to have report_callchain_help as a global

It is used in a single place, move the declaration to that function.

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-p650ofrl8xike4dewxod51gg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c