perf tests: Initialize sa.sa_flags
authorColin Ian King <[email protected]>
Wed, 2 Mar 2016 12:55:22 +0000 (12:55 +0000)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 3 Mar 2016 14:10:39 +0000 (11:10 -0300)
commite17a0e16ca3a63d1bafbcba313586cf137418f45
treead129fc1e2ecba0c2ff7f5ce627afcbfa57fd361
parent9b240637eb9b9677a9e9bc2dc568f5e0811e04d6
perf tests: Initialize sa.sa_flags

The sa_flags field is not being initialized, so a garbage value is being
passed to sigaction.  Initialize it to zero.

Signed-off-by: Colin Ian King <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/arch/x86/tests/rdpmc.c