* [Bug bpf/23478] New: bpf: multi-key associative arrays @ 2018-08-01 19:04 me at serhei dot io 2019-05-28 13:51 ` [Bug bpf/23478] " wcohen at redhat dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: me at serhei dot io @ 2018-08-01 19:04 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=23478 Bug ID: 23478 Summary: bpf: multi-key associative arrays Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: bpf Assignee: systemtap at sourceware dot org Reporter: me at serhei dot io Target Milestone: --- From the 'language features' brainstorm: # More complex structures: multi-key associative arrays It's theoretically possible to have a large struct as the key to a hash map. Thus, a key could literally be a structure with 2 (or more) embedded strings. It seemed to work fine when I used a 128-byte map key size, so two 64-byte string keys should be doable at the very least. -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bpf/23478] bpf: multi-key associative arrays 2018-08-01 19:04 [Bug bpf/23478] New: bpf: multi-key associative arrays me at serhei dot io @ 2019-05-28 13:51 ` wcohen at redhat dot com 2019-08-20 20:49 ` wcohen at redhat dot com 2021-08-30 15:21 ` me at serhei dot io 2 siblings, 0 replies; 4+ messages in thread From: wcohen at redhat dot com @ 2019-05-28 13:51 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=23478 William Cohen <wcohen at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wcohen at redhat dot com --- Comment #1 from William Cohen <wcohen at redhat dot com> --- This would also be useful for the @entry support. A number of the systemtap examples fail like in the following way: TEST PWD=/home/wcohen/systemtap_write/systemtap/testsuite/systemtap.examples/memory meta taglines 'test_check: stap -p4 overcommit.stp' tag 'test_check' value 'stap -p4 overcommit.stp' attempting command stap --bpf -p4 overcommit.stp OUT semantic error: unhandled multi-dimensional array: identifier '$pages' at overcommit.stp:6:40 source: execname(), pid(), @entry($pages)) ^ Pass 4: compilation failed. [man error::pass4] child process exited abnormally RC 1 FAIL: systemtap.examples/memory/overcommit build -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bpf/23478] bpf: multi-key associative arrays 2018-08-01 19:04 [Bug bpf/23478] New: bpf: multi-key associative arrays me at serhei dot io 2019-05-28 13:51 ` [Bug bpf/23478] " wcohen at redhat dot com @ 2019-08-20 20:49 ` wcohen at redhat dot com 2021-08-30 15:21 ` me at serhei dot io 2 siblings, 0 replies; 4+ messages in thread From: wcohen at redhat dot com @ 2019-08-20 20:49 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=23478 William Cohen <wcohen at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-08-20 Ever confirmed|0 |1 --- Comment #2 from William Cohen <wcohen at redhat dot com> --- There is a initial patch on https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=shortlog;h=refs/heads/wcohen/pr23478 that allows use of multi-dimensional arrays with the exception of foreach statements for multi-dimensional arrays. -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bpf/23478] bpf: multi-key associative arrays 2018-08-01 19:04 [Bug bpf/23478] New: bpf: multi-key associative arrays me at serhei dot io 2019-05-28 13:51 ` [Bug bpf/23478] " wcohen at redhat dot com 2019-08-20 20:49 ` wcohen at redhat dot com @ 2021-08-30 15:21 ` me at serhei dot io 2 siblings, 0 replies; 4+ messages in thread From: me at serhei dot io @ 2021-08-30 15:21 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=23478 --- Comment #3 from Serhei Makarov <me at serhei dot io> --- Implemented support for foreach iterations in multi-key associative arrays. -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-30 15:21 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-08-01 19:04 [Bug bpf/23478] New: bpf: multi-key associative arrays me at serhei dot io 2019-05-28 13:51 ` [Bug bpf/23478] " wcohen at redhat dot com 2019-08-20 20:49 ` wcohen at redhat dot com 2021-08-30 15:21 ` 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).