public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug bpf/23858] New: sorted iteration on bpf arrays can't sort values
@ 2018-11-04 17:18 fche at redhat dot com
  2019-03-26 17:09 ` [Bug bpf/23858] " me at serhei dot io
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fche at redhat dot com @ 2018-11-04 17:18 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-12 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-04 17:18 [Bug bpf/23858] New: sorted iteration on bpf arrays can't sort values fche at redhat dot com
2019-03-26 17:09 ` [Bug bpf/23858] " me at serhei dot io
2019-03-26 19:33 ` me at serhei dot io
2019-03-26 19:34 ` me at serhei dot io
2019-06-27 15:48 ` me at serhei dot io
2019-07-12 15:49 ` me at serhei dot io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).