summaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-11-23 15:42:33 +0100
committerIngo Molnar <mingo@elte.hu>2009-11-23 18:18:30 +0100
commitfdf6bc95229821e3d9405eba28925b76e92b74d0 (patch)
treebe414077495ac0ef3b71abd163dc35d0e96b1318 /kernel/perf_event.c
parenthw-breakpoints: Include only linux/perf_event.h from kernel part of bp headers (diff)
downloadlinux-fdf6bc95229821e3d9405eba28925b76e92b74d0.tar.xz
linux-fdf6bc95229821e3d9405eba28925b76e92b74d0.zip
hw-breakpoints: Check the breakpoint params from perf tools
Perf tools create perf events as disabled in the beginning. Breakpoints are then considered like ptrace temporary breakpoints, only meant to reserve a breakpoint slot until we get all the necessary informations from the user. In this case, we don't check the address that is breakpointed as it is NULL in the ptrace case. But perf tools don't have the same purpose, events are created disabled to wait for all events to be created before enabling all of them. We want to check the breakpoint parameters in this case. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Prasad <prasad@linux.vnet.ibm.com> LKML-Reference: <1258987355-8751-2-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions