projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tests: Initialize sa.sa_flags
[cascardo/linux.git]
/
tools
/
perf
/
arch
/
x86
/
tests
/
rdpmc.c
diff --git
a/tools/perf/arch/x86/tests/rdpmc.c
b/tools/perf/arch/x86/tests/rdpmc.c
index
7bb0d13
..
7945462
100644
(file)
--- a/
tools/perf/arch/x86/tests/rdpmc.c
+++ b/
tools/perf/arch/x86/tests/rdpmc.c
@@
-103,6
+103,7
@@
static int __test__rdpmc(void)
sigfillset(&sa.sa_mask);
sa.sa_sigaction = segfault_handler;
+ sa.sa_flags = 0;
sigaction(SIGSEGV, &sa, NULL);
fd = sys_perf_event_open(&attr, 0, -1, -1,