Skip to content
Commit ed872d09 authored by Frederic Weisbecker's avatar Frederic Weisbecker
Browse files

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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Cc: Prasad <prasad@linux.vnet.ibm.com>
parent b9b1e1c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment