Re: [PATCH v4 2/2] perf trace: Add --bitmask-list command-line option

From: Namhyung Kim

Date: Fri Jul 24 2026 - 01:55:11 EST


On Thu, Jul 23, 2026 at 11:28:48AM -0400, Aaron Tomlin wrote:
> On Wed, Jul 22, 2026 at 10:49:33PM -0700, Namhyung Kim wrote:
> > On Wed, Jul 22, 2026 at 11:50:49AM -0400, Aaron Tomlin wrote:
> > > Introduce a new '--bitmask-list' command-line option for 'perf trace'.
> > > When this option is specified, the formatting of cpumasks is delegated
> > > to bitmap_scnprintf(), enabling cpumasks to be displayed as a condensed,
> > > human-readable list (e.g., "0,2-5,7") instead of the default hexadecimal
> > > representation. An example is provided below:
> >
> > Do you know any other places than cpumask use bitmask too? I'm just
> > curious if it needs to handle other cases or not.
>
> Hi Namhyung,
>
> As far as I can tell, currently no other users.

Ok, I was thinking about --cpumask-list or --cpulist. But I'm fine with
the current name as long as we can update other use cases in the future.
I'll process this unless others have different opinions.

Thanks,
Namhyung