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/22005] New: @min and @max functions return a wrong value


https://sourceware.org/bugzilla/show_bug.cgi?id=22005

            Bug ID: 22005
           Summary: @min and @max functions return a wrong value
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

At certain circumstances @min() and @max() return a wrong value:

$ stap -e 'global nnn probe oneshot {nnn<<<12 nnn<<<34 println(@min(nnn), ", ",
@max(nnn))}'
12, 34
$ stap -e 'global nnn probe oneshot {nnn<<<12 nnn<<<34 println(@min(nnn))}'
12
$ stap -e 'global nnn probe oneshot {nnn<<<12 nnn<<<34 println(@max(nnn))}'
12
$

-- 
You are receiving this mail because:
You are the assignee for the bug.

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