This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug bpf/23858] New: sorted iteration on bpf arrays can't sort values
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Sun, 04 Nov 2018 11:48:43 +0000
- Subject: [Bug bpf/23858] New: sorted iteration on bpf arrays can't sort values
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23858
Bug ID: 23858
Summary: sorted iteration on bpf arrays can't sort values
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: bpf
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
Target Milestone: ---
% stap -e 'global a probe oneshot { a[0]=5; a[3]=3; a[5]=0;
foreach (b in a+) printf("%d %d\n", b, a[b]) }'
5 0
3 3
0 5
% stap --bpf -e 'global a probe oneshot { a[0]=5; a[3]=3; a[5]=0;
foreach (b in a+) printf("%d %d\n", b, a[b]) }'
0 5
3 3
5 0
--
You are receiving this mail because:
You are the assignee for the bug.