This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/11854] New: automatic global printing feature doesn't work
- From: "andi-bz at firstfloor dot org" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 29 Jul 2010 10:24:59 -0000
- Subject: [Bug runtime/11854] New: automatic global printing feature doesn't work
- Reply-to: sourceware-bugzilla at sourceware dot org
BTW where is there no 1.3 in "version"?
NEWS says back for 0.8:
- Global variables which are written to but never read are now
automatically displayed when the session does a shutdown. For example:
global running_tasks
probe timer.profile {running_tasks[pid(),tid()] = execname()}
probe timer.ms(8000) {exit()}
I tried this with 1.3 and it doesn't work:
global numchdir
probe syscall.chdir { numchdir++ }
% stap chdir.stp
<do some cds>
Ctrl-C
%
Nothing is printed, but I would have expected numchdir to get printed?
--
Summary: automatic global printing feature doesn't work
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: andi-bz at firstfloor dot org
GCC host triplet: x86_64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=11854
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.