* [Bug translator/6978] New: nice to have $$parms for probe.syscall.
@ 2008-10-24 7:58 srikar at linux dot vnet dot ibm dot com
2009-06-10 19:31 ` [Bug translator/6978] process.syscall extensions: abort, $$parms fche at redhat dot com
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: srikar at linux dot vnet dot ibm dot com @ 2008-10-24 7:58 UTC (permalink / raw)
To: systemtap
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/6978] process.syscall extensions: abort, $$parms
2008-10-24 7:58 [Bug translator/6978] New: nice to have $$parms for probe.syscall srikar at linux dot vnet dot ibm dot com
@ 2009-06-10 19:31 ` fche at redhat dot com
2009-07-28 9:47 ` wenji dot huang at oracle dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2009-06-10 19:31 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2009-06-10 19:30 -------
Another related nice-to-have feature would be having some
other synthetic $-variable ($action? $abort) that a process.syscall
probe handler may set in order to get the utrace report_syscall
to return something other than plain UTRACE_RESUME.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|nice to have $$parms for |process.syscall extensions:
|probe.syscall. |abort, $$parms
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/6978] process.syscall extensions: abort, $$parms
2008-10-24 7:58 [Bug translator/6978] New: nice to have $$parms for probe.syscall srikar at linux dot vnet dot ibm dot com
2009-06-10 19:31 ` [Bug translator/6978] process.syscall extensions: abort, $$parms fche at redhat dot com
@ 2009-07-28 9:47 ` wenji dot huang at oracle dot com
2009-07-28 21:29 ` fche at redhat dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: wenji dot huang at oracle dot com @ 2009-07-28 9:47 UTC (permalink / raw)
To: systemtap
------- Additional Comments From wenji dot huang at oracle dot com 2009-07-28 09:46 -------
Created an attachment (id=4091)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4091&action=view)
patch and testcase to support $$parms
The $$parms can be outputted like
$ sudo stap -e 'probe process.syscall {printf("%s\n",$$parms) exit()}'
$arg1=0x3 $arg2=0xbfe69528 $arg3=0x2004 $arg4=0xbfe69528 $arg5=0xbfe6952c
$arg6=0xbfe6b548
Since there is no type information available, the parameters have to
be printed in hex format.
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/6978] process.syscall extensions: abort, $$parms
2008-10-24 7:58 [Bug translator/6978] New: nice to have $$parms for probe.syscall srikar at linux dot vnet dot ibm dot com
2009-06-10 19:31 ` [Bug translator/6978] process.syscall extensions: abort, $$parms fche at redhat dot com
2009-07-28 9:47 ` wenji dot huang at oracle dot com
@ 2009-07-28 21:29 ` fche at redhat dot com
2009-07-29 6:04 ` wenji dot huang at oracle dot com
2009-08-19 16:03 ` fche at redhat dot com
4 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2009-07-28 21:29 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2009-07-28 21:29 -------
> Created an attachment (id=4091)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4091&action=view)
> patch and testcase to support $$parms
Thanks, looks good.
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/6978] process.syscall extensions: abort, $$parms
2008-10-24 7:58 [Bug translator/6978] New: nice to have $$parms for probe.syscall srikar at linux dot vnet dot ibm dot com
` (2 preceding siblings ...)
2009-07-28 21:29 ` fche at redhat dot com
@ 2009-07-29 6:04 ` wenji dot huang at oracle dot com
2009-08-19 16:03 ` fche at redhat dot com
4 siblings, 0 replies; 7+ messages in thread
From: wenji dot huang at oracle dot com @ 2009-07-29 6:04 UTC (permalink / raw)
To: systemtap
------- Additional Comments From wenji dot huang at oracle dot com 2009-07-29 06:04 -------
commit a0c0ed1c030d8e812eed19b096c626b7ce233358
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/6978] process.syscall extensions: abort, $$parms
2008-10-24 7:58 [Bug translator/6978] New: nice to have $$parms for probe.syscall srikar at linux dot vnet dot ibm dot com
` (3 preceding siblings ...)
2009-07-29 6:04 ` wenji dot huang at oracle dot com
@ 2009-08-19 16:03 ` fche at redhat dot com
4 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2009-08-19 16:03 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2009-08-19 16:03 -------
Looks good, thanks!
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/6978] process.syscall extensions: abort, $$parms
[not found] <bug-6978-6586@http.sourceware.org/bugzilla/>
@ 2016-07-06 19:32 ` dsmith at redhat dot com
0 siblings, 0 replies; 7+ messages in thread
From: dsmith at redhat dot com @ 2016-07-06 19:32 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=6978
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dsmith at redhat dot com
Resolution|--- |FIXED
--- Comment #6 from David Smith <dsmith at redhat dot com> ---
Looks like commit a0c0ed1c0 fixed this back in 2009.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-07-06 19:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-24 7:58 [Bug translator/6978] New: nice to have $$parms for probe.syscall srikar at linux dot vnet dot ibm dot com
2009-06-10 19:31 ` [Bug translator/6978] process.syscall extensions: abort, $$parms fche at redhat dot com
2009-07-28 9:47 ` wenji dot huang at oracle dot com
2009-07-28 21:29 ` fche at redhat dot com
2009-07-29 6:04 ` wenji dot huang at oracle dot com
2009-08-19 16:03 ` fche at redhat dot com
[not found] <bug-6978-6586@http.sourceware.org/bugzilla/>
2016-07-06 19:32 ` dsmith at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).