Re: [PATCH 0/2] Notifications for perf sideband events

From: Vince Weaver
Date: Thu Jul 13 2017 - 11:35:19 EST


On Thu, 13 Jul 2017, Naveen N. Rao wrote:

> > could you please check on this? thanks
> >
> > Naveen,
> > have you run Vince's test suite on this?
> > http://github.com/deater/perf_event_tests.git
>
> I just tried this and I see quite a few failures even without these
> patches.
>
> The behavior is similar with/without these patches and all the ioctl
> tests pass, but I see some failures with the overflow tests. I'll look
> into those tests in detail tomorrow. I may be missing something.

the signal/overflow interface has always been a troublesome one :(
It's part of why I haven't had much to say about the whole kernel
addresses leaking into samples mess.

I had noticed some of the related overflow tests have been failing
recently (both in perf_event_tests and in PAPI), but I haven't had
a chance to see if it was an actual regression or just due to the way the
tests are designed. I'll see if I can figure out what's going on.

Vince