Follow-up to [Bug translator/14596] New: probe module enhancement request
Frank Ch. Eigler
fche@redhat.com
Wed Jun 19 18:20:00 GMT 2013
Hi -
> > What does % strace stap .... 2>&1 | grep -i drm.ko say?
> 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.
OK. Does the strace give a hint at where stap *is* looking for the
modules? There should be a bunch of stat / openat / getdents type
syscalls.
> 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:
You could just run it directly as I typed it.
% stap <<<YOUR OTHER -r/-a/-B/etc. OPTIONS HERE>>> -L 'module("*").function("*")'
> [achaiken@sb-ubuntu-1204-64bit systemtap]$ stap --version
> Systemtap translator/driver (version 1.6/0.152 non-git sources)
(You may be able to build or get hold of a newer version;
that's two years old.)
> 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 [...]
You're right. The question is how to trick that old version into
doing what you need.
- FChE
More information about the Systemtap
mailing list