[PATCH v3 1/2] systemtap/tapsets.cxx: Adjusted for multiple static functions
Hemant Kumar
hemant@linux.vnet.ibm.com
Thu Apr 9 19:33:00 GMT 2015
On 04/10/2015 01:00 AM, Frank Ch. Eigler wrote:
> 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.
Great idea! Thanks.
> - FChE
>
--
Thanks,
Hemant Kumar
More information about the Systemtap
mailing list