Re: How to install utrace kernel?

2010-04-07 Thread Neo Liu
Yes, I clone the code from the git repository and installed successfully.
But I didn't find the utrace.h under include/linux directory.

Is there some installation instruction?

On Wed, Apr 7, 2010 at 8:08 PM, Oleg Nesterov o...@redhat.com wrote:

 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.





How to install utrace kernel?

2010-04-06 Thread Neo Liu
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) ?

Thanks.