> On Thu, May 04, 2006 at 03:01:34PM -0700, Jonathan Adams wrote:
> 
> > You'd really want it to handle arrays of uint_ts or ulong_ts.  Which makes 
> > you
> > really want a ::cpuset dcmd, which knows how to print out CPU sets, no 
> > matter
> > what the size.
> 
> Or a ::cpuset built on top of a ::bitset that takes a size parameter. I also
> need an equivalent of CPUSET_FIND, so it'd be good if there was an internal 
> API
> that could cope with all of these, and a couple of commands built on top.

What should CPUSET_FIND (or its analog) do? Find any bit in the set?

With the discussion above it seems that we need something like

::bitset [-w word_size] [-l nwords] [-a]

I hope that by default it is possible to figure out both using CTF data.

By default it will print collapsed ranges and with -a will print all elements.

Sounds reasonable?

- Alex



Reply via email to