lkml.org 
[lkml]   [2010]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 0/13] Uprobes v4
* Peter Zijlstra <peterz@infradead.org> [2010-05-19 16:17:40]:

> On Wed, 2010-05-19 at 11:38 +0530, Srikar Dronamraju wrote:
> >
> > Also when uprobes implements global tracing support (i.e probing a
> > particular symbol in a dso across processes), it has to rely on
> > background page replacement.
>
> Uhm, how so?

For global tracing we cant use access_process_vm. The equivalent to
access_process_vm for global tracing would be to use copy_to_user.

However I am sure people wouldnt be happy using copy_to_user on a page
that other processes could have mapped.

So that leaves us with background page replacement method.
I do agree that we will not be using the same routine. But the technique
should be something similar(or do you disagree?).

Or do you suggest any alternative methods for global tracing?

--
Thanks and Regards
Srikar


\
 
 \ /
  Last update: 2010-05-19 19:41    [W:0.076 / U:4.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site