This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2149] check return value for _stp_map_set_xx()
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Jan 2006 18:23:42 -0000
- Subject: [Bug translator/2149] check return value for _stp_map_set_xx()
- References: <20060112181937.2149.hunt@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From hunt at redhat dot com 2006-01-16 18:23 -------
(In reply to comment #4)
> (In reply to comment #1)
> > I don't want to belittle the importance of checking return values, but filled
> > maps could be avoided by turning on map->wrap.
>
> The current wrapping scheme seems too complicated to use.
It depends what you want to use it for. Setting one flag enables it. Current
behaviour is FIFO. Adding a flag to change the behaviour to LRU would be simple.
Only gotcha is that there is only one node list and sorting will reorder the list.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2149
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.