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]

trace spinlock


Hi,
I am trying to trace the spinlock/spinunlock, but there is something
weired in the output. In some cases, the parm of spinlock becomes "?"
Does anyone know what's reason? And how to fix this?


Thanks,
Zhiwei


tracelock.stp
probe kernel.function("spin_lock").inline
{
??name = execname()
??printf("exec(%s) %s %s\n", name, probefunc(), $$parms)
}
probe kernel.function("spin_unlock").inline
{
??name = execname()
??printf("exec(%s) %s %s\n", name, probefunc(), $$parms)
}

output:
exec(rfs_update_rino) spin_lock lock=0xc0958a00
exec(rfs_update_rino) spin_unlock lock=0xc0958a00
exec(rfs_update_rino) spin_lock lock=?
exec(rfs_update_rino) spin_unlock lock=?


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