perf annotate: Move annotate functions to util/
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Feb 2011 11:45:46 +0000 (09:45 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 5 Feb 2011 14:28:21 +0000 (12:28 -0200)
commit78f7defedbb4da73b9a07635c357c1afcaa55c8f
treea4ddcb93682e17e986272b626ce94eb0ed35f8b7
parent764328d3209dd81b02a55722556b07b6f35e3ca0
perf annotate: Move annotate functions to util/

They will be used by perf top, so that we have just one set of routines
to do annotation.

Rename "struct sym_priv" to "struct annotation", etc, to clarify this
code a bit.

Rename "struct sym_ext" to "struct source_line", to give it a meaningful
name, that clarifies that it is a the result of an addr2line call, that
is sorted by percentage one particular source code line appeared in the
annotation.

And since we're moving things around also rename 'sym_hist->ip' to
'sym_hist->addr' as we want to do data structure annotation at some
point.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/annotate.c [new file with mode: 0644]
tools/perf/util/annotate.h [new file with mode: 0644]
tools/perf/util/hist.c
tools/perf/util/hist.h
tools/perf/util/ui/browsers/annotate.c
This page took 0.027192 seconds and 5 git commands to generate.