This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/22278] New: the nss client code doesn't handle '-I DIR' well
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 10 Oct 2017 16:44:10 +0000
- Subject: [Bug translator/22278] New: the nss client code doesn't handle '-I DIR' well
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22278
Bug ID: 22278
Summary: the nss client code doesn't handle '-I DIR' well
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
Target Milestone: ---
Using a custom tapset directory works fine:
====
# cat tapset/foo.stp
function foo()
{
printf("Hello\n")
}
# stap -I tapset -e 'probe oneshot { foo() }'
Hello
====
However, if you try to do the same thing with a compile server, you get an
error:
====
# stap --use-server -I tapset -e 'probe oneshot { foo() }'
semantic error: unresolved function (similar: log, HZ, pn, pp, cpu): identifier
'foo' at <input>:1:17
source: probe oneshot { foo() }
^
WARNING: unused command line option $1/@1
Pass 2: analysis failed. [man error::pass2]
Passes: via server failed. Try again with another '-v' option.
====
--
You are receiving this mail because:
You are the assignee for the bug.