lkml.org 
[lkml]   [2010]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] [PATCH 7/7] Ftrace plugin for Uprobes
From
Date
On Thu, 2010-01-14 at 13:23 +0100, Frederic Weisbecker wrote:
>
> I see, so what you suggest is to have the probe set up
> as generic first. Then the process that activates it
> becomes a consumer, right?

Right, so either we have it always on, for things like ftrace,

in which case the creation traverses rmap and installs the probes
all existing mmap()s, and a mmap() hook will install it on all new
ones.

Or they're strictly consumer driver, like perf, in which case the act of
enabling the event will install the probe (if its not there yet).



\
 
 \ /
  Last update: 2010-01-14 13:33    [W:0.113 / U:3.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site