This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
semantic error: libdwfl failure (dwarf_highpc): no error thrown
- From: Peter Saunderson <peteasa at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 29 Aug 2014 16:09:43 +0100
- Subject: semantic error: libdwfl failure (dwarf_highpc): no error thrown
- Authentication-results: sourceware.org; auth=none
Hi,
I seem to have an ARM ELF file parse problem with systemtap. I am using
Systemtap translator/driver (version 2.5/0.148, commit
release-2.4-404-gae91e3d552af + changes)
Copyright (C) 2005-2014 Red Hat, Inc. and others
On a yocto poky build for ARM with a zynq zc702 CPU with version 3.9
kernel and get an error:
stap -vvv -p4 -k -e 'probe module("myModule").function("myModule_probe")
{print("I am here\n"); exit();}'
semantic error: libdwfl failure (dwarf_highpc): no error thrown from:
/home/pas/Sources/platform/meta-yocto-oina/yocto/build_oxinst/tmp/work/armv7at2hf-vfp-neon-poky-linux-gnueabi/systemtap/2.5+gitAUTOINC+ae91e3d552-r0/git/dwarf_wrappers.cxx:30
semantic error: while resolving probe point: identifier 'module' at
<input>:1:7
thrown from:
/home/pas/Project/yocto/build_yocto/tmp/work/armv7at2hf-vfp-neon-poky-linux-gnueabi/systemtap/2.5+gitAUTOINC+ae91e3d552-r0/git/elaborate.cxx:1074
source: probe module("myModule").function("myModule_probe")
{print("I am here\n"); exit();}
^
semantic error: no match (similar functions: myModule_probe,
myModule_remove, myModule_scale, myModule_isr, match_of_node) thrown
from:
/home/pas/Project/yocto/build_yocto/tmp/work/armv7at2hf-vfp-neon-poky-linux-gnueabi/systemtap/2.5+gitAUTOINC+ae91e3d552-r0/git/tapsets.cxx:7634
It seems that the parsing script can see my function myModule_probe but
for some reason cant match it
I have searched for a similar error in the list but have not found one
so far. I have started running gdb on stap but as I am new to systemtap
I would value any assistance with either the likely cause of the problem
or how best to debug. It seems like its something to do with parsing
the ELF file with symbols.
Thanks in advance for any assistance.
Peter