This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/9715] New: support modification-safe foreach
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Jan 2009 17:52:59 -0000
- Subject: [Bug translator/9715] New: support modification-safe foreach
- Reply-to: sourceware-bugzilla at sourceware dot org
As like as hlist_for_each_safe() in the kernel.
This feature will allow us to filter or update array data.
ex.
foreach (pid in data) {
if (pid != XXX)
delete data[pid]
}
--
Summary: support modification-safe foreach
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9715
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.