This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: Container keys
On Sat, 2005-04-30 at 14:24 +0100, John Levon wrote:
> I'm concerned by the mention in the docs that only "one or two strings,
> or a long" is acceptable as a key to the associative containers. Why?
> It seems unnecessarily restrictive. Certainly in my use of DTrace it was
> rather common to use numerous data items as keys to a single container.
We could support an arbitrary number of keys, but it would be less
efficient than supporting two. In searching dtrace examples, I never
saw anything using more than two keys. Do you have some examples of
where this is useful?
Martin