This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
problems with sched tapset on ubuntu precise 3.2.0
- From: Thiago Manel <thiago dot manel at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 7 May 2013 12:05:09 -0300
- Subject: problems with sched tapset on ubuntu precise 3.2.0
Hi list,
I'm facing the following error when trying to run testsuite/systemtap.examples/
process/schedtimes.stp script
stap schedtimes.stp -x 2064
Warning: make exited with status: 2
Warning: make exited with status: 2
Warning: make exited with status: 2
Warning: make exited with status: 2
^CWarning: make exited with status: 130
semantic error: no match while resolving probe point
kernel.trace("sched_switch")
Pass 2: analysis failed. Try again with another '--vp 01' option.
In fact, my installation does not know the "sched_switch" probe point ...
stap -l 'kernel.function("sched_s*")'
kernel.function("sched_set_stop_task@/build/buildd/linux-3.2.0/kernel/sched.c:2205")
kernel.function("sched_setaffinity@/build/buildd/linux-3.2.0/kernel/sched.c:5543")
kernel.function("sched_setscheduler@/build/buildd/linux-3.2.0/kernel/sched.c:5407")
kernel.function("sched_setscheduler_nocheck@/build/buildd/linux-3.2.0/kernel/sched.c:5425")
kernel.function("sched_show@/build/buildd/linux-3.2.0/fs/proc/base.c:1359")
kernel.function("sched_show_task@/build/buildd/linux-3.2.0/kernel/sched.c:5998")
kernel.function("sched_slice@/build/buildd/linux-3.2.0/kernel/sched_fair.c:514")
kernel.function("sched_smt_power_savings_show@/build/buildd/linux-3.2.0/kernel/sched.c:7960")
kernel.function("sched_smt_power_savings_store@/build/buildd/linux-3.2.0/kernel/sched.c:7966")
kernel.function("sched_submit_work@/build/buildd/linux-3.2.0/kernel/sched.c:4473")
I followed the instructions from
http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu and the
simpler, vfs.read probe worked just fine
root@abotoado:~# stap -v -e 'probe vfs.read {printf("readperformed\n"); exit()}'
Pass 1: parsed user script and 77 library script(s) using
92536virt/22580res/2604shr kb, in 60usr/0sys/70real ms.
Pass 2: analyzed script: 1 probe(s), 22 function(s), 3 embed(s), 1
global(s) using 362872virt/144892res/7824shr kb, in
1000usr/210sys/1208real ms.
Pass 3: using cached
/root/.systemtap/cache/14/stap_146e14d355110070f5e702520662db0f_10803.c
Pass 4: using cached
/root/.systemtap/cache/14/stap_146e14d355110070f5e702520662db0f_10803.ko
Pass 5: starting run.
readperformed
Pass 5: run completed in 0usr/10sys/529real ms.
Do you guys have any clue on how to debug this issue ?
A bit of context ...
root@abotoado:~# uname -a
Linux abotoado 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
root@abotoado:~# dpkg -l | grep linux-image-3.2.0-23-generic
ii linux-image-3.2.0-23-generic 3.2.0-23.36
Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-23-generic-dbgsym 3.2.0-23.36
Linux kernel debug image for version 3.2.0 on 64 bit x86
SMP
Thank you in advance
--
Thiago Emmanuel Pereira da Cunha Silva
-----------------------------------------------
www.lsd.ufcg.edu.br/~thiagoepdc
-----------------------------------------------