diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-08-25 19:05:36 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-08-25 19:05:36 +0000 |
| commit | 293db47f4753f5746e5aaa998ceb24dff662cf7e (patch) | |
| tree | 6a16cc0521a1e2a142b589865a27b3a886f14421 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | perf hists: Fix hist_entry__init_have_children (diff) | |
| download | kernel-293db47f4753f5746e5aaa998ceb24dff662cf7e.tar.gz kernel-293db47f4753f5746e5aaa998ceb24dff662cf7e.zip | |
perf hists browser: replace rb_first() != NULL by !RB_EMPTY_ROOT()
Its way too stupid to use rb_first() for just caching if there are
children, use the cheaper RB_EMPTY_ROOT() instead.
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
