]> git.baikalelectronics.ru Git - kernel.git/commit
perf callchain: Factor out adding new call chain entries
authorAndi Kleen <ak@linux.intel.com>
Thu, 13 Nov 2014 02:05:19 +0000 (18:05 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Nov 2014 15:33:47 +0000 (12:33 -0300)
commit2f3b68880fa3e2e8e5e9d2cf067a3a4a48ca738a
tree26be637f989a6c45c42a29f24a9531c600432f6a
parentf14407bb6c76d4a8aac165065cb10659354479d3
perf callchain: Factor out adding new call chain entries

Move the code to resolve and add a new callchain entry into a new
add_callchain_ip function. This will be used in the next patches to add
LBRs too.

No change in behavior.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1415844328-4884-2-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c