[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/3] utrace-based ftrace "process" engine, v2
> kernel/utrace.c should probably be introduced as 
> kernel/trace/utrace.c not kernel/utrace.c. It also overlaps pending
> work in the tracing tree and cooperation would be nice and desired.

Of course I would like to cooperate with everyone. And of course it does
not really matter much where a source file lives. But IMHO utrace really
does not fit in with the kernel/trace/ code much at all. Sure, its hooks
can be used by tracer implementations that use CONFIG_TRACING stuff. But
it is a general API about user thread state. It belongs in kernel/trace/
"naturally" far less than, say, kprobes. utrace will in future be used to
implement userland features (ptrace et al) that are just aspects of the
basics of what an operating system does: mediate userland for userland.
Those uses will have nothing to do with "kernel tracing".


 \ /
  Last update: 2009-03-23 06:27    [W:0.080 / U:3.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site