From: Namhyung Kim <namhyung@kernel.org>
To: Aaron Tomlin <atomlin@atomlin.com>
Cc: peterz@infradead.org, mingo@redhat.com, acme@kernel.org,
mark.rutland@arm.com, alexander.shishkin@linux.intel.com,
jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com,
james.clark@linaro.org, howardchu95@gmail.com, neelx@suse.com,
chjohnst@mail.com, sean@ashe.io, steve@abita.co,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/2] perf trace: Add --bitmask-list command-line option
Date: Thu, 23 Jul 2026 22:54:35 -0700 [thread overview]
Message-ID: <amL-G7h_LC5Vsa-U@google.com> (raw)
In-Reply-To: <kick2ndzn7nisgdnxjit2tp6tfyub3nor54dbgqxqwy7ctgsdd@zxy23kkhc3uh>
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
prev parent reply other threads:[~2026-07-24 5:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 15:50 [PATCH v4 0/2] perf trace: Correct cpumask formatting and add --bitmask-list Aaron Tomlin
2026-07-22 15:50 ` [PATCH v4 1/2] perf trace: Correct default cpumask formatting to hexadecimal Aaron Tomlin
2026-07-22 15:50 ` [PATCH v4 2/2] perf trace: Add --bitmask-list command-line option Aaron Tomlin
2026-07-23 5:49 ` Namhyung Kim
2026-07-23 15:28 ` Aaron Tomlin
2026-07-24 5:54 ` Namhyung Kim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=amL-G7h_LC5Vsa-U@google.com \
--to=namhyung@kernel.org \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=atomlin@atomlin.com \
--cc=chjohnst@mail.com \
--cc=howardchu95@gmail.com \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=neelx@suse.com \
--cc=peterz@infradead.org \
--cc=sean@ashe.io \
--cc=steve@abita.co \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.