This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: Follow-up to [Bug translator/14596] New: probe module enhancement request
- From: "Chaiken, Alison" <Alison_Chaiken at mentor dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: "systemtap at sourceware dot org" <systemtap at sourceware dot org>, "Baxter, Jim" <Jim_Baxter at mentor dot com>
- Date: Wed, 19 Jun 2013 17:42:23 +0000
- Subject: RE: Follow-up to [Bug translator/14596] New: probe module enhancement request
- References: <60BA5429A0E1584BA3633194F6F993B5027C77F2 at NA-MBX-03 dot mgc dot mentorg dot com> <60BA5429A0E1584BA3633194F6F993B5027F7C50 at NA-MBX-03 dot mgc dot mentorg dot com>,<20130619162209 dot GB26513 at redhat dot com>
FChE responds:
Hm, so a drm.ko file was not even found apparently.
What does % strace stap .... 2>&1 | grep -i drm.ko say?
Alison:
Nothing. I dumped the strace output into a file and searched over it, and there are no occurrences of "drm.ko". Note that drm.ko is not a particular problem; that module was picked at random. There is no module that works.
FChE continues:
What about % stap .... -L 'module("*").function("*")' ?
I can't figure out how to invoke a command with nested quotes, either from CLI or from a script:
stap: invalid option -- ' '
results with -L 'module("*").function("*")'.
Reversing the single and double quotes and trying again produces
syntax error near unexpected token `('
as did no quotes at all. Perhaps this is due to the stap version?
[achaiken@sb-ubuntu-1204-64bit systemtap]$ stap --version
Systemtap translator/driver (version 1.6/0.152 non-git sources)
Presumably the most likely problem of the overall compilation failure is that stap doesn't know the path to search for the compiled kernel modules, and that I need to configure it to look in the right place, perhaps with the "-d" or "--sysenv" switch?
We're using Yocto to cross-compile, so perhaps not a lot of others have tried that particular use case yet?
Thanks again,
Alison Chaiken
Mentor Embedded Software Division