[PATCH v3 1/2] systemtap/tapsets.cxx: Adjusted for multiple static functions

Frank Ch. Eigler fche@redhat.com
Thu Apr 9 19:30:00 GMT 2015


Hi -

On Thu, Apr 09, 2015 at 09:49:18PM +0530, Hemant Kumar wrote:
> [...]
> But, when I tried that this with multimap, the problem I faced is we can 
> insert two or more entries with same key and value, [...]
> But yeah, this can be done with multimap with a duplication check before 
> insertion.

... or have the lookup function compute a set<> from the multimap range,
thereby doing duplicate elimination implicitly.

- FChE



More information about the Systemtap mailing list