diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-04-13 09:47:04 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-04-13 09:47:04 +0200 |
commit | a7ca08038b990e2cbed324948664b2d8940fd782 (patch) | |
tree | c92e113441f9556e08fe7d10bdd40392b7bdef07 /tools/perf/util/ui/browsers/hists.c | |
parent | 4166fb64593514ad920b7dbd290e0a934b37d24a (diff) | |
parent | 7fb0a5ee8889488f7568ffddffeb66ddeb50917e (diff) |
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull various perf tooling fixes from Arnaldo Carvalho de Melo.
Diffstat (limited to 'tools/perf/util/ui/browsers/hists.c')
-rw-r--r-- | tools/perf/util/ui/browsers/hists.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/ui/browsers/hists.c b/tools/perf/util/ui/browsers/hists.c index d7a1c4afe28..2f83e5dc996 100644 --- a/tools/perf/util/ui/browsers/hists.c +++ b/tools/perf/util/ui/browsers/hists.c @@ -125,6 +125,9 @@ static int callchain__count_rows(struct rb_root *chain) static bool map_symbol__toggle_fold(struct map_symbol *self) { + if (!self) + return false; + if (!self->has_children) return false; |