]> git.baikalelectronics.ru Git - kernel.git/commit
perf callchain: Add generic report parse callchain callback function
authorDon Zickus <dzickus@redhat.com>
Mon, 7 Apr 2014 18:55:24 +0000 (14:55 -0400)
committerJiri Olsa <jolsa@redhat.com>
Tue, 22 Apr 2014 15:39:24 +0000 (17:39 +0200)
commita8f29c8e5b9283619542b74cb6c6cc1a459061c3
tree88b5217cdee5126642e6f3db587fab1b1050ba65
parentf1fa52e90bc57bb2719146c7adca7bcb5ce0fdf4
perf callchain: Add generic report parse callchain callback function

This takes the parse_callchain_opt function and copies it into the
callchain.c file.  Now the c2c tool can use it too without duplicating.

Update perf-report to use the new routine too.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1396896924-129847-5-git-send-email-dzickus@redhat.com
[ Adding missing braces to multiline if condition ]
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/callchain.c
tools/perf/util/callchain.h