Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is utrace project dead?

I was trying to use stap to trace a userspace executable, as advised by this answer: https://stackoverflow.com/a/324709/368507

To do this, kernel must have utrace patch, but i can't find any utrace patch for recent kernels.

The mailing list is closed, and many links on the official site are broken.

Does someone know where this project is going ? Is it dead ? Does that mean we cannot use stap anymore to trace executables on recent kernels ?

Thanks

like image 501
user368507 Avatar asked Aug 26 '12 21:08

user368507


2 Answers

The path of utrace upstream has been beset with many difficulties. However parts of it live on as described by this fine LWN article.

You will probably find it's easier to access this functionality via the "perf" suite of tools. After adding the probe events you can use the usual perf tool functionality to break down the results. See the commit message and the fine docs for more information.

like image 70
stsquad Avatar answered Oct 31 '22 11:10

stsquad


Utrace is indeed dead and is not in development anymore, it failed to get to the kernel. See "uprobes" instead it is available since 3.5+.

like image 3
Anton Avatar answered Oct 31 '22 11:10

Anton