lkml.org 
[lkml]   [2010]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 8/14] samples: Uprobes samples
On Mon, Jun 14, 2010 at 01:59:23PM +0530, Srikar Dronamraju wrote:
> samples.patch
>
> From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
>
> Uprobes Samples
>
> This provides an example uprobes module in the samples directory.
>
> To run this module run (as root)
> insmod uprobe_example.ko vaddr=<vaddr> pid=<pid>
> Where <vaddr> is the address where we want to place the probe.
> <pid> is the pid of the process we are interested to probe.

What's the point of this sample? It's a sub-set of what the perf
uprobes inteface supports, and writing kernel modules to probe userspace
code is braindead to start with. So if you remove this example of what
people should not do we can also get rid of all the exports.



\
 
 \ /
  Last update: 2010-06-14 19:51    [W:0.213 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site