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 runtime/11854] New: automatic global printing feature doesn't work


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.


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