diff options
| author | 2009-12-07 08:03:35 +0100 | |
|---|---|---|
| committer | 2009-12-07 08:03:35 +0100 | |
| commit | 11a80ddbf3521c428bcde2d31e6632cef186bae9 (patch) | |
| tree | b975c69c66bf3693f6a982fb8f5522b496353549 /include/linux/hw_breakpoint.h | |
| parent | perf trace/scripting: Fix compile error when libperl not installed (diff) | |
| parent | hw-breakpoints: Fix task-bound breakpoint slot allocation (diff) | |
| download | wireguard-linux-11a80ddbf3521c428bcde2d31e6632cef186bae9.tar.xz wireguard-linux-11a80ddbf3521c428bcde2d31e6632cef186bae9.zip | |
Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into perf/urgent
Diffstat (limited to 'include/linux/hw_breakpoint.h')
| -rw-r--r-- | include/linux/hw_breakpoint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hw_breakpoint.h b/include/linux/hw_breakpoint.h index 4d14a384a01e..42da1ce19ec0 100644 --- a/include/linux/hw_breakpoint.h +++ b/include/linux/hw_breakpoint.h @@ -22,6 +22,8 @@ enum { static inline void hw_breakpoint_init(struct perf_event_attr *attr) { + memset(attr, 0, sizeof(*attr)); + attr->type = PERF_TYPE_BREAKPOINT; attr->size = sizeof(*attr); /* |
