diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 04:14:07 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 04:14:07 +0400 |
commit | 4cc4945844fe2cf493f1783b6ce938ba1617d5c2 (patch) | |
tree | d4d94f2f4447acf93473ec47de1ef5851fca9f00 /tools/perf/util/symbol.c | |
parent | 3ceb0d4438876a65606c258e5d69e03e57460dd6 (diff) | |
download | linux-4cc4945844fe2cf493f1783b6ce938ba1617d5c2.tar.xz |
perf symbols: Check if a struct machine instance was found
Which can happen when processing old files that had no fake kernel MMAP,
events.
That shouldn't result in perf_session__create_kernel_maps not being
called, this will be fixed in a followup patch, for now do these checks
to avoid segfaulting.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.c')
0 files changed, 0 insertions, 0 deletions