[lkml]   [2011]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 0/4] perf: Custom contexts
On Tue, Mar 15, 2011 at 11:32:54PM +0100, Peter Zijlstra wrote:
> Right, so I don't much like the interface, two new ioctl()s and a flag
> of dubious use.

Do you think we need a new syscall for this new feature.

> How important is this recursive nature of the thing to you:
> > It's supposed to support infinite combinations with starter having starters
> > themselves, plus filters, etc...
> We've so far avoided recursion like that, we only have single level
> groups etc.

There is actually no recursivity of any sort that the kernel has to handle.
The starter/stopper links are never handled recursively. ie: there is no
loop walking through the entire chain of starter to starter to starter, etc...

It's always only handled between direct related event: starter and target, but
never further.

Only the final effect has recursion properties in the resulting count
or trace.

 \ /
  Last update: 2011-03-16 14:55    [W:0.111 / U:1.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site