lkml.org 
[lkml]   [2010]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BUG] perf_events: PERF_FORMAT_GROUP not working correctly when monitoring another task
From
Date
On Thu, 2010-05-06 at 13:09 -0700, Corey Ashford wrote:
> The patch works with the test case I provided, but for some reason it
> breaks the normal operation of the libpfm4 "task" utility. If I put
> more than one event in a group, I get zero counts on all but the first
> event. That's even if I don't use the PERF_FORMAT_GROUP option.

Bugger,.. weird though, I can't see how it would affect the state before
the counters get detached from their context (exit() / close()).

> So something appears to be messed up. I will see if I can construct an
> arch-independent test case which demonstrates the problem.

That would be awesome, thanks!




\
 
 \ /
  Last update: 2010-05-06 22:25    [W:0.594 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site