This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/17362] no script-level local variables available in F20's kernel.function("do_execve")
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 08 Sep 2014 18:37:56 +0000
- Subject: [Bug runtime/17362] no script-level local variables available in F20's kernel.function("do_execve")
- Auto-submitted: auto-generated
- References: <bug-17362-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17362
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #2 from Josh Stone <jistone at redhat dot com> ---
If you use a script like:
probe f = kernel.function("do_execve"){}
probe f.call, f.inline { println($$parms) }
in pass-2 output you'll see:
kernel.function("do_execve@fs/exec.c:1547").call /* pc=_stext+0x1edf38 */ /*
<- kernel.function("do_execve@fs/exec.c:1547").call */
println(sprintf("filename=%#x __argv=%#x __envp=%#x",
_dwarf_tvar_get_filename_0(), _dwarf_tvar_get___argv_1(),
_dwarf_tvar_get___envp_2()))
kernel.function("do_execve@fs/exec.c:1547").inline /* pc=_stext+0x1ee16f */
/* <- kernel.function("do_execve@fs/exec.c:1547").inline */
println(sprintf("__envp=? __argv=? filename=?"))
So there's a full .call function which has all the parameters available, and an
.inline instance which has none of them.
(In reply to Frank Ch. Eigler from comment #1)
> Chances are this is related to
> https://bugzilla.redhat.com/show_bug.cgi?id=1126580
The producer string does indeed include -fno-var-tracking-assignments.
--
You are receiving this mail because:
You are the assignee for the bug.