* Identifying kernel locks for a given process
@ 2009-06-27 23:29 rafapple
0 siblings, 0 replies; only message in thread
From: rafapple @ 2009-06-27 23:29 UTC (permalink / raw)
To: systemtap
Hello friends,
I'm currently working on a project in which I need to be able to detect and
show all the acquisition and liberations of the different types of kernel
locks made by a single given process (mutexes, semaphores, spinlocks, big
kernel locks etc). In this log, I need to be able to write which locks were
made, and also write when they were liberated. Is systemTap capable of doing
that?
The log would look something like this:
kernel lock acquired and liberated - type: spinlock
kernel lock acquired and liberated - type: spinlock
kernel lock acquired - type: mutex
kernel lock liberated - type: mutex
kernel lock acquired and liberated - type: spinlock
kernel lock acquired - type: big kernel lock
kernel lock liberated - type: big kernel lock
If this is possible, can someone help me with this? I'll be very thankful
Thanks for the attention,
Rafa
--
View this message in context: http://www.nabble.com/Identifying-kernel-locks-for-a-given-process-tp24237555p24237555.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-27 23:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-27 23:29 Identifying kernel locks for a given process rafapple
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).