Monitoring Modules
Daniel Migault
mglt.biz@gmail.com
Thu May 19 17:27:00 GMT 2011
Hi,
To measure how IPsec influences the performances of our system, we would
like to record the module of the current task. We use the probemod()
function but it only returns " <unknown> ".
Do you know how could we get the module's name performing the task?
We would appreciate any suggestions. This is our code based on
thread-times.stp
[...]
tid=tid(); e=execname()
if (!user_mode()) {
module=probemod()
kticks[e,tid] <<< 1
} else {
module="u_space"
uticks[e,tid] <<< 1
}
[..]
Regards,
Daniel
More information about the Systemtap
mailing list