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 translator/6978] New: nice to have $$parms for probe.syscall.


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.


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