]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Don't display ignored entries on stdio ui
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 29 Jun 2011 20:23:03 +0000 (22:23 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 29 Jun 2011 22:26:33 +0000 (00:26 +0200)
commit02aa47850a7dec1b18c570790541232c673578b6
tree51890e149dc9946b8300c38bfb1ebc1a643bfd85
parentcdadba6e20e30fb643e863b6b1e2a7c23d13f801
perf tools: Don't display ignored entries on stdio ui

As for newt ui, don't display entries that have been marked
as ignored.

The practical current effect of this is to make parent
filtering really working. Before, entries that were ignored
were given a null parent but were still displayed. This
resulted in some weird effects:

 # Overhead      Command      Shared Object        Symbol
 # ........  ...........  .................  ............
 #
^A
                   |
                   --- __lock_acquire
                      |
                      |--95.97%-- lock_acquire
                      |          |
                      |          |--30.75%-- _raw_spin_lock

Discard these from the stdio display.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Sam Liao <phyomh@gmail.com>
tools/perf/util/hist.c