]> 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)
commitc18baed8eecff494a8c194a4558a7c474bd1ba77
tree51890e149dc9946b8300c38bfb1ebc1a643bfd85
parent9f7dac9f1d04f0d512be020515cef43370d2ec66
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