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]

no access to local variables in function


Hi,

i'm new to systemtap. I try to check some local variables of kernel functions. I have a SLES 10 SP4, kernel 2.6.16.60-0.103.1-smp. I'm using systemtap 0.8.
I'm following the instructions from https://sourceware.org/systemtap/SystemTap_Beginners_Guide/targetvariables.html .

If I try to use the example from this page I get:
idcc-devel:~/systemtap # stap -L 'kernel.function("vfs_read")'
kernel.function("vfs_read@fs/read_write.c:248")

Checking other functions with local variables also does not work:
idcc-devel:~/systemtap # stap -L 'kernel.function("local_bh_enable")'
kernel.function("local_bh_enable@kernel/softirq.c:139")

idcc-devel:~/systemtap # stap -L 'kernel.function("__tasklet_schedule")'
kernel.function("__tasklet_schedule@kernel/softirq.c:224")

idcc-devel:~/systemtap # stap -L 'kernel.function("tasklet_kill_immediate")'
kernel.function("tasklet_kill_immediate@kernel/softirq.c:439")

I don't see any local variable. What can I do ?

Btw: is there a chance to monitor the variables of a blacklisted function ?

Thanks.


Bernd

--
Bernd Lentes

Systemadministration
Institut für Entwicklungsgenetik
Gebäude 35.34 - Raum 208
HelmholtzZentrum münchen
bernd.lentes@helmholtz-muenchen.de
phone: +49 89 3187 1241
fax:   +49 89 3187 2294
http://www.helmholtz-muenchen.de/idg

Je suis Charlie


Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671


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