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/12024] New: automatic printing of aggregates as decimal values


Systemtap will automatically print out the values of global variables that are
only written to. The automatic print prints hex values for example:

stap  -e 'global sys; probe syscall.* {sys<<<1}' -c 'sleep 1'
sys @count=0xfc3 @min=0x1 @max=0x1 @sum=0xfc3 @avg=0x1

Most people would prefer this to be decimal like:

stap  -e 'global sys; probe syscall.* {sys<<<1}' -c 'sleep 1'
sys @count=3900 @min=1 @max=1 @sum=3900 @avg=1

-- 
           Summary: automatic printing of aggregates as decimal values
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=12024

------- 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]