[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 2-ptrace_multi
On 5/18/06, Renzo Davoli <> wrote:
> e.g. To virtualize a write you'd have to call PTRACE_PEEKDATA for each
> word of the buffer, very many hundreds cycles lost.

No, this is not how programs should do it. Just open /proc/PID/mem
and use pread() with an offset corresponding to the address. Now,
repeat your timings using this technique.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-05-19 04:25    [W:0.042 / U:23.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site