summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2010-05-10 02:14:07 +0200
committerArnaldo Carvalho de Melo2010-05-10 02:14:07 +0200
commit4cc4945844fe2cf493f1783b6ce938ba1617d5c2 (patch)
treed4d94f2f4447acf93473ec47de1ef5851fca9f00 /tools/perf/util/symbol.h
parentperf symbols: Consider unresolved DSOs in the dso__col_widt calculation (diff)
downloadkernel-qcow2-linux-4cc4945844fe2cf493f1783b6ce938ba1617d5c2.tar.gz
kernel-qcow2-linux-4cc4945844fe2cf493f1783b6ce938ba1617d5c2.tar.xz
kernel-qcow2-linux-4cc4945844fe2cf493f1783b6ce938ba1617d5c2.zip
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.h')
0 files changed, 0 insertions, 0 deletions