Re: Porting "jump labels" to userspace (was: Re: [ltt-dev] LTTng-USTvs SystemTap userspace tracing benchmarks)
From: Roland McGrath
Date: Wed Feb 16 2011 - 15:13:41 EST
IMHO there is not really so much to the in-kernel implementation that it's
worth attempting to reuse the code in userland. Pretty much all the work
is in the details of the implementation that would naturally differ a lot
in a different context. If you understand the mechanism and the machine
details, then implementing it well for a userland context is not a big deal
and is cleaner to do from scratch than shoe-horning kernel-centric code
into a wildly different context.
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/