在ubuntu 64位机上安装systemtap完成了, 运行时报错
test@localhost:~$ uname -a
Linux localhost 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
1 安装内核调试信息linux-image-3.13.0-24-generic-dbgsym_3.13.0-24.47_amd64.ddeb安装包
2 安装syetemtop, sudo apt-get install systemtap
3 运行sudo stap -ve 'probe begin { log("hello systemtap!") exit() }'时报错。
错误信息:
Pass 1: parsed user script and 95 library script(s) using 84556virt/27184res/2528shr/25468data kb, in 70usr/0sys/78real ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0 global(s) using 84944virt/27920res/2600shr/25856data kb, in 10usr/0sys/2real ms.
Pass 3: using cached /home/deploy/.systemtap/cache/d9/stap_d94af685c7c425b2493b329a702e826b_986.c
Pass 4: using cached /home/deploy/.systemtap/cache/d9/stap_d94af685c7c425b2493b329a702e826b_986.ko
Pass 5: starting run.
ERROR: module version mismatch (#47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 vs #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014), release 3.13.0-24-generic
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run completed in 0usr/10sys/50real ms.
Pass 5: run failed. [man error::pass5]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
各位大神帮忙看看哇,