This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]