perf report: Add validation of call-chain entries
authorIngo Molnar <mingo@elte.hu>
Thu, 18 Jun 2009 06:00:17 +0000 (08:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Jun 2009 06:15:47 +0000 (08:15 +0200)
commit7522060c95395f479ee4a6af3bbf9e097e92e48f
tree3530611cfd45c75c5a1952210edb2953598a9afe
parentb25bcf2f133b1e6216c3d40be394756107d3880f
perf report: Add validation of call-chain entries

Add boundary checks for call-chain events. In case of corrupted
entries we could crash otherwise.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
tools/perf/builtin-report.c