diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2011-10-20 06:45:44 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-10-20 06:45:44 -0200 |
commit | c64550cfddfdbd7a6f9d5ffb37382a05d7f0306b (patch) | |
tree | 61f599063631672d8e1d9b56e516d6954ba44784 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2cf9cebf0878e384630f6fd5e1abd830c0cd99b3 (diff) |
perf hists: Don't decay total_period for filtered entries
Following the 'perf report' model we don't zap hist_entry instances from
the rb tree, we just keep them with he->filtered set to a mask of the
filters applied to it (thread, parent, DSO so far).
In top we need to decay even filtered entries, but we better not touch
total_period for them...
Now everything seems to work when filters are applied on top as they
worked in 'report', i.e. both dynamic and static hist entry browsing
works with filters.
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions