diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-07 03:14:17 +0100 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-07 07:04:33 +0100 |
commit | ed872d09effd54aa8ecb4ceedbc4dbab9592f337 (patch) | |
tree | 34be7e06922a496386ad91500fb8e73e87c846a8 /kernel/hw_breakpoint.c | |
parent | perf buildid-list: Fix copy'n'paste help message (diff) | |
download | linux-ed872d09effd54aa8ecb4ceedbc4dbab9592f337.tar.xz linux-ed872d09effd54aa8ecb4ceedbc4dbab9592f337.zip |
hw-breakpoints: Zeroe the breakpoint attrs on initialization
The perf attrs used to set up breakpoint parameters are often allocated
in the stack and not zeroed out before calling hw_breakpoint_init().
Handle it from this helper to avoid random attributes set by the stack.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Prasad <prasad@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/hw_breakpoint.c')
0 files changed, 0 insertions, 0 deletions