[Bug translator/6978] New: nice to have $$parms for probe.syscall.

srikar at linux dot vnet dot ibm dot com sourceware-bugzilla@sourceware.org
Fri Oct 24 07:58:00 GMT 2008


It would be nice to have $$parms for process.syscall. 
we already provide $$parms for process("path").function("func") kind of probes.

probe process.syscall {
        printf ("%s \n", $$parm)
}

$ sudo stap -v /home/srikar/scripts/a.stp -c "abc"
Pass 1: parsed user script and 45 library script(s) in 990usr/20sys/1004real ms.
semantic error: invalid target symbol for utrace probe, $syscall, $return or
$argN expected: identifier '$$parm' at /home/srikar/scripts/a.stp:2:26 while
resolving probe point process.syscall
semantic error: no probes found
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) in
10usr/0sys/16real ms.
Pass 2: analysis failed.  Try again with more '-v' (verbose) options
$

-- 
           Summary: nice to have $$parms for probe.syscall.
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: srikar at linux dot vnet dot ibm dot com


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

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



More information about the Systemtap mailing list