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)
commite84d21227c6865fe1f3d0c79d1539b6877f54c84
tree51890e149dc9946b8300c38bfb1ebc1a643bfd85
parent2fd701bc782fad8792059dd586e1f00b64f6a52e
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