summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/run-command.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-08-25 21:05:36 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-08-25 21:05:36 +0200
commit293db47f4753f5746e5aaa998ceb24dff662cf7e (patch)
tree6a16cc0521a1e2a142b589865a27b3a886f14421 /tools/perf/util/run-command.c
parentperf hists: Fix hist_entry__init_have_children (diff)
downloadlinux-293db47f4753f5746e5aaa998ceb24dff662cf7e.tar.xz
linux-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 <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/run-command.c')
0 files changed, 0 insertions, 0 deletions