perf callchain: Move initial entry call into get_entries function
authorJiri Olsa <jolsa@kernel.org>
Tue, 17 Nov 2015 15:05:37 +0000 (16:05 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Nov 2015 21:30:10 +0000 (18:30 -0300)
commitb26b218a1e9c5815cb8964e180b7fba3cd9bd509
treea2e9524ec191918c842501a7398d33c08eb45390
parentb7883a1c4f75edb62fc49da6000c59fb881e3c7b
perf callchain: Move initial entry call into get_entries function

Moving initial entry call into get_entries function so all entries
processing is on one place. It will be useful for next change that adds
ordering logic.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Milian Wolff <milian.wolff@kdab.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1447772739-18471-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/unwind-libunwind.c