perf annotation: Add symbol__get_annotation
authorAndi Kleen <ak@linux.intel.com>
Wed, 27 May 2015 17:51:46 +0000 (10:51 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 May 2015 23:30:56 +0000 (20:30 -0300)
commit83be34a7a913bdf9f21f524333c63d9c48a28ef4
treeb91e24977e5b62070bd291f512d667376007f612
parent18ffdfe8e98f861a39590ef2374ad51fc963567e
perf annotation: Add symbol__get_annotation

Add a new utility function to get an function annotation out of existing
code.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1432749114-904-4-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c