This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/11325] New: Spaces and exclamation marks invalid as module arguments


Examples:

$ stap -p4 -m mod1 -e 'global var1="foo";  probe  begin{printf("%s\n", var1);
exit()}'

$ staprun mod1.ko var1="hello!"
bash: !": event not found

$ staprun mod1.ko var1="hello world"
Error inserting module '/notnfs/chwang/systemtap/mod1.ko': Unknown symbol in module
Retrying, after attempted removal of module mod1 (rc -1)
Error inserting module '/notnfs/chwang/systemtap/mod1.ko': Unknown symbol in module


Also, escaping the exclamation mark results in the escape character also being
printed:

$ staprun mod1.ko var1="hello\!"
hello\!

-- 
           Summary: Spaces and exclamation marks invalid as module arguments
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: chwang at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11325

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]