perf tests: Initialize sa.sa_flags
authorColin Ian King <colin.king@canonical.com>
Wed, 2 Mar 2016 12:55:22 +0000 (12:55 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
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 <colin.king@canonical.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1456923322-29697-1-git-send-email-colin.king@canonical.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/tests/rdpmc.c