perf: weird si_code results on overflow signal
Hello
I just compiled up a fresh git kernel and all of the perf_event_test overflow tests are failing.
The reason is that instead of getting POLL_IN or POLL_HUP sources as expected, they are getting weird results in si_code of "-5".
I haven't had time to bisect this, but I do notice that some major changes to si_code handling went in with
64a76d0d64bea159da997c002a916ffc03f98bfc
Vince
Quoted 9 lines · Vince Weaver
I just compiled up a fresh git kernel and all of the
perf_event_testoverflow tests are failing.The reason is that instead of getting
POLL_INorPOLL_HUPsources as expected, they are getting weird results insi_codeof "-5".I haven't had time to bisect this, but I do notice that some major changes to
si_codehandling went in with64a76d0d64bea159da997c002a916ffc03f98bfc
resending in case everyone was away at plumbers...
Vince
Quoted 5 lines · Vince Weaver
Quoted 3 lines · Vince Weaver
I just compiled up a fresh git kernel and all of the
perf_event_testoverflow tests are failing.
Quoted 8 lines
Quoted 6 lines
The reason is that instead of getting
POLL_INorPOLL_HUPsources as expected, they are getting weird results insi_codeof "-5".I haven't had time to bisect this, but I do notice that some major changes to
si_codehandling went in with64a76d0d64bea159da997c002a916ffc03f98bfcresending in case everyone was away at plumbers...
Apologies it looks like I missed this one the first time through.
I will push ou tthe fix in just a minute.
Eric