A user was having trouble getting stap to accept a statement"func@file:line")
probe. The fix was to change the "file" component from an absolute pathname to
a pathname relative to the root of the kernel source tree.
Neither the stapprobes man page nor the Language Reference make it clear that
the pathname must be relative, although the examples in the Language Reference
show relative pathnames.
Am I correct in thinking that the pathname must be relative? Does this need to
be clarified anywhere besides in the stapprobes man page and the Language Reference?
> Am I correct in thinking that the pathname must be relative?
Not exactly. The path name patterns need to match the path names as
seen by the compiler. A Red Hat kernel build happens to use relative
names, but others may not. We should try harder to support both, perhaps
with an implicit "**"-equivalent widget at the front of the path name
*** Bug 4397 has been marked as a duplicate of this bug. ***
Please check the effect of commit #2ed8949.
Not quite so easy ... we wouldn't want
So the implicit "*" in the front should only refer to what in
regexp language would be written (.*/)?
ah, commit 79640c2 may be good enough.