This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
no access to local variables in function
- From: "Lentes, Bernd" <bernd dot lentes at helmholtz-muenchen dot de>
- To: "'systemtap at sourceware dot org'" <systemtap at sourceware dot org>
- Date: Thu, 28 May 2015 14:06:37 +0200
- Subject: no access to local variables in function
- Authentication-results: sourceware.org; auth=none
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