How to install utrace kernel?

Oleg Nesterov oleg at redhat.com
Wed Apr 7 12:08:48 UTC 2010


On 04/06, Neo Liu wrote:
>
> Hi, everyone
>     I want to try the utrace tracing engine, so I downloaded the
> kernel code from the Git repository listed in the utrace wiki.
> (git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-utrace.git
> ). And then I compiled and installed the kernel in my virtual
> machine successfully. But I didn't find the file like
> <linux/utrace.h>. I think this means that I didn't install the utrace
> kernel
> correctly. I ask for your help to tell me how to install the utrace
> kernel. Do I need to patch the three patch files
> (tracehook.patch  utrace.patch  utrace-ptrace.patch) ?

Not sure I understand the question.

If you did

	git clone git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-utrace.git

the "installation" is done, see linux-2.6-utrace/include/linux/utrace.h

Just in case: utrace.h is not for user-space.

Oleg.




More information about the utrace-devel mailing list