This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/22005] New: @min and @max functions return a wrong value
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 25 Aug 2017 10:38:45 +0000
- Subject: [Bug translator/22005] New: @min and @max functions return a wrong value
- Auto-submitted: auto-generated
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.