Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1189991 > unrolled thread

Re: perf: multiplexing broken on amd fam16h?

Started byPeter Zijlstra <peterz@infradead.org>
First post2015-07-22 16:20 +0200
Last post2015-07-22 16:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: perf: multiplexing broken on amd fam16h? Peter Zijlstra <peterz@infradead.org> - 2015-07-22 16:20 +0200
    Re: perf: multiplexing broken on amd fam16h? Vince Weaver <vincent.weaver@maine.edu> - 2015-07-22 16:40 +0200

#1189991 — Re: perf: multiplexing broken on amd fam16h?

FromPeter Zijlstra <peterz@infradead.org>
Date2015-07-22 16:20 +0200
SubjectRe: perf: multiplexing broken on amd fam16h?
Message-ID<pP32i-Ny-5@gated-at.bofh.it>
On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote:
> If I run the perf_event_tests check_multiplexing test it fails like this:

FWIW, that contains:

   /* we have to close, because PERF_EVENT_IOC_RESET */
   /* does not clear multiplexing informatio.        */

Do you need that? We could add another reset ioctl with a flags argument
on what all to clear.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1190017

FromVince Weaver <vincent.weaver@maine.edu>
Date2015-07-22 16:40 +0200
Message-ID<pP3lD-19S-9@gated-at.bofh.it>
In reply to#1189991
On Wed, 22 Jul 2015, Peter Zijlstra wrote:

> On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote:
> > If I run the perf_event_tests check_multiplexing test it fails like this:
> 
> FWIW, that contains:
> 
>    /* we have to close, because PERF_EVENT_IOC_RESET */
>    /* does not clear multiplexing informatio.        */
> 
> Do you need that? We could add another reset ioctl with a flags argument
> on what all to clear.

I remember being surprised by that behavior at the time, but I don't think 
I've run into the issue much.  PAPI (which has pretty awful multiplexing 
support) tends to close and reopen events anytime you change the config, 
rather than trying to RESET them.

I'll be rebooting the A8 system with your patch shortly.
$%C&^*# systemd insits on delaying reboots by 90 seconds for obscure 
reasons which is slowing down my testing regime a bit.

Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web