This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug bpf/23875] support string map keys in foreach iteration
- From: "me at serhei dot io" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 25 Mar 2019 16:53:56 +0000
- Subject: [Bug bpf/23875] support string map keys in foreach iteration
- Auto-submitted: auto-generated
- References: <bug-23875-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23875
--- Comment #2 from Serhei Makarov <me at serhei dot io> ---
Have some code for this, but there are regressions I need to fix. The parts
that needed to be changed so far:
- in bpf-translate.cxx, visit_foreach_loop() needs to create correctly sized
stack slots for string keys
- in bpfinterp.cxx, create a separate map_str_keys vector and use the
appropriate vectors depending on type. Some unavoidable code duplication as the
string handling code is similar but not quite the same as the code for ints.
--
You are receiving this mail because:
You are the assignee for the bug.