Fwd: probing user space function on Ubuntu

Conoscenza Silente abruzzoforteegentile@gmail.com
Wed Feb 16 19:49:00 GMT 2011


hi all
I am completely new to systemtap. I work with Ubuntu 10.10
I would like to probe functions in my application so user-space probing.

I created the following "test.stp" file run using "stap test.stp" and
I am returned the following error.

" - semantic error: process probes not available without kernel
CONFIG_UTRACE while
resolving probe point process("/home/me/appName").function("main")  -"

I goggle it and I need to have utrace in kernel  in place.
Do you know how to get it and IF it is possible to have that in Ubuntu?
Was anyone successful?

Best regards
AFG

// test.stp
probe process("/home/me/appName").function( "main" ){
        printf ("here is main" )
}



More information about the Systemtap mailing list