This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
updated example scripts
- From: Stuart Kendrick <stuart dot kendrick dot sea at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 10 Jan 2014 09:26:16 -0800
- Subject: updated example scripts
- Authentication-results: sourceware.org; auth=none
I have just installed systemtap-2.4 under Precise Pangolin
I compiled using gcc-4.8.1
Linux ubuntu 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4
17:25:51 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Some of the example scripts run: dropwatch.stp and tcp_connections.stp...
But some do not: nettop.stp, socktop, tcp_trace.stp ...
The failing ones throw dwarf errors:
./nettop.stp
semantic error: not accessible at this address [man error::dwarf]
(0xffffffff815e6870, dieoffset: 0x54970df): identifier '$skb' at
/usr/local/share/systemtap/
tapset/linux/networking.stp:82:27
source: dev_name = kernel_string($skb->dev->name)
^
Pass 2: analysis failed. [man error::pass2]
Number of similar error messages suppressed: 15.
Rerun with -v to see them.
The failing ones throw dwarf errors:
./nettop.stp
semantic error: not accessible at this address [man error::dwarf]
(0xffffffff815e6870, dieoffset: 0x54970df): identifier '$skb' at
/usr/local/share/systemtap/tapset/linux/networking.stp:82:27
source: dev_name = kernel_string($skb->dev->name)
^
Pass 2: analysis failed. [man error::pass2]
Number of similar error messages suppressed: 15.
Rerun with -v to see them.
I'm guessing that these scripts are running into the challenges of
finding particular variables:
https://sourceware.org/systemtap/wiki/TipContextVariables"
Has anyone twinked with one or more of the three scripts above in such
a way as to make them more likely to run under 3.8.0-x?
--sk
Stuart Kendrick