perf annotation: Add symbol__get_annotation
authorAndi Kleen <[email protected]>
Wed, 27 May 2015 17:51:46 +0000 (10:51 -0700)
committerArnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/annotate.c