Re: [perfmon2] [PATCH] Should use siginfo_t rather than struct siginfo
Status: Beta
Brought to you by:
seranian
From: William C. <wc...@re...> - 2012-06-11 20:19:47
|
On 06/11/2012 04:15 PM, Vince Weaver wrote: > On Mon, 11 Jun 2012, William Cohen wrote: > >> Hi Phil, >> >> I notice that papi encounters a similar problem. What would be requirement for the autoconf check? Use the struct siginfo if it exists and siginfo_t if no struct siginfo? >> >> -Will > > > From what I gather the siginfo_t / struct siginfo stuff was only broken in > Linux 2.4. I don't think PAPI really supports anything that old anymore. > > It looks like all of our architectures besides Linux (at least the ones > that don't just have a dummy hwd_siginfo_t) are using siginfo_t already. > > The change is just a one line fix in linux-context.h. I'm willing to > commit it and back it out if it breaks anything. > > Vince > Hi Vince, I have a one line fix that allow papi to compile with the siginfo_t. The patch is attached. -Will |