Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
On Wed, Jul 22, 2015 at 03:59:28PM -0400, Vince Weaver wrote: > On Wed, 22 Jul 2015, Peter Zijlstra wrote: > > > On Wed, Jul 22, 2015 at 12:56:23PM -0400, Vince Weaver wrote: > > > yes, with this applied the check_multiplex test passes. > > > > Awesome, I'll try and write up a proper patch later

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Vince Weaver
On Wed, 22 Jul 2015, Peter Zijlstra wrote: > On Wed, Jul 22, 2015 at 12:56:23PM -0400, Vince Weaver wrote: > > yes, with this applied the check_multiplex test passes. > > Awesome, I'll try and write up a proper patch later tonight. I'm just curious, it seems like sort of a generic fix, is there

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
On Wed, Jul 22, 2015 at 12:56:23PM -0400, Vince Weaver wrote: > yes, with this applied the check_multiplex test passes. Awesome, I'll try and write up a proper patch later tonight. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Vince Weaver
On Wed, 22 Jul 2015, Peter Zijlstra wrote: > On Wed, Jul 22, 2015 at 05:06:24PM +0200, Peter Zijlstra wrote: > > On Wed, Jul 22, 2015 at 11:02:21AM -0400, Vince Weaver wrote: > > > On Wed, 22 Jul 2015, Vince Weaver wrote: > > > > > > > > OK, so I have to admit I'm a bit weak on ftrace. What type

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
On Wed, Jul 22, 2015 at 05:06:24PM +0200, Peter Zijlstra wrote: > On Wed, Jul 22, 2015 at 11:02:21AM -0400, Vince Weaver wrote: > > On Wed, 22 Jul 2015, Vince Weaver wrote: > > > > > > OK, so I have to admit I'm a bit weak on ftrace. What type of command > > > line are you interested in seeing?

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
On Wed, Jul 22, 2015 at 11:02:21AM -0400, Vince Weaver wrote: > On Wed, 22 Jul 2015, Vince Weaver wrote: > > > > OK, so I have to admit I'm a bit weak on ftrace. What type of command > > line are you interested in seeing? The ones I've tried with trace-cmd > > have activated your trace_printk

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
On Wed, Jul 22, 2015 at 10:57:23AM -0400, Vince Weaver wrote: > On Wed, 22 Jul 2015, Peter Zijlstra wrote: > > Can you run with something like the below? > > OK, so I have to admit I'm a bit weak on ftrace. What type of command > line are you interested in seeing? The ones I've tried with trac

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Vince Weaver
On Wed, 22 Jul 2015, Vince Weaver wrote: > > OK, so I have to admit I'm a bit weak on ftrace. What type of command > line are you interested in seeing? The ones I've tried with trace-cmd > have activated your trace_printks but there's 500MB of other data mixed > in so maybe I am doing someth

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Vince Weaver
On Wed, 22 Jul 2015, Peter Zijlstra wrote: > On Tue, Jul 21, 2015 at 04:08:28PM -0400, Vince Weaver wrote: > > On Tue, 21 Jul 2015, Peter Zijlstra wrote: > > > > > On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > > > > Hello > > > > > > > > I have a new AMD A8 system and perf mult

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Vince Weaver
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 mul

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
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 coul

Re: perf: multiplexing broken on amd fam16h?

2015-07-22 Thread Peter Zijlstra
On Tue, Jul 21, 2015 at 04:08:28PM -0400, Vince Weaver wrote: > On Tue, 21 Jul 2015, Peter Zijlstra wrote: > > > On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > > > Hello > > > > > > I have a new AMD A8 system and perf multiplexing support is acting weird. > > > > > > If I run th

Re: perf: multiplexing broken on amd fam16h?

2015-07-21 Thread Peter Zijlstra
On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > I tried to replicate the problem using perf, but for some reason I can't > get perf to multiplex on any of my machines. That used to transparently > work didn't it? > > here's the result on the haswell machine > > perf stat -e >

Re: perf: multiplexing broken on amd fam16h?

2015-07-21 Thread Vince Weaver
On Tue, 21 Jul 2015, Peter Zijlstra wrote: > On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > > Hello > > > > I have a new AMD A8 system and perf multiplexing support is acting weird. > > > > If I run the perf_event_tests check_multiplexing test it fails like this: > > > > Event

Re: perf: multiplexing broken on amd fam16h?

2015-07-21 Thread Peter Zijlstra
On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > Hello > > I have a new AMD A8 system and perf multiplexing support is acting weird. > > If I run the perf_event_tests check_multiplexing test it fails like this: > > Event TotalCount RawCountScale

perf: multiplexing broken on amd fam16h?

2015-07-21 Thread Vince Weaver
Hello I have a new AMD A8 system and perf multiplexing support is acting weird. If I run the perf_event_tests check_multiplexing test it fails like this: Event TotalCount RawCountScale ScaledCount Error 0 500282143 150403975