This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: probing user space function on Ubuntu


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" )
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]