perf annotate: Display total number of samples with --show-total-period
authorMartin Liška <mliska@suse.cz>
Fri, 19 Jun 2015 19:10:43 +0000 (16:10 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Jun 2015 19:39:18 +0000 (16:39 -0300)
commit0c4a5bcea4609948375173cdea8d73783110a75e
tree3d34e9c1225a92194ff13a9896f9600874e48131
parenta5499b37197ab4b5fed101370df7ccadacbb4340
perf annotate: Display total number of samples with --show-total-period

To compare two records on an instruction base, with --show-total-period
option provided, display total number of samples that belong to a line
in assembly language.

New hot key 't' is introduced for 'perf annotate' TUI.

Signed-off-by: Martin Liska <mliska@suse.cz>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/5583E26D.1040407@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h