perf hists browser: Allow annotating entries in callchains
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Mar 2015 21:27:28 +0000 (18:27 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Mar 2015 21:27:28 +0000 (18:27 -0300)
commitd5dbc518cd8fbc7cf54b91d5b506eb4d67e4047d
treeb0070205671ea96526194966270b1147fc587382
parent4c47f4fcd60a2f4153d6fe0c31650fbec112a1bd
perf hists browser: Allow annotating entries in callchains

Instead of annotating just the top level hist_entry, allow instead
annotating a map_symbol, i.e. the top level hist_entry or one of the
callchains for which there were samples.

Suggested-by: Stephane Eranian <eranian@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-k1zxj5564je9jei4yd15ouwn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/ui/browsers/hists.c
tools/perf/util/hist.h