On Fri, Dec 26, 2025 at 11:07:23AM -0500, Aaron Tomlin wrote:
Hi Steve,
This patch adds support for displaying bitmasks in human-readable list
format (e.g., 0,2-5,7) in addition to the default hexadecimal bitmap
representation. This is particularly useful when tracing CPU masks and
other large bitmasks where individual bit positions are more meaningful
than their hexadecimal encoding.
When the "bitmask-list" option is enabled, the printk "%*pbl" format
specifier is used to render bitmasks as comma-separated ranges, making
trace output easier to interpret for complex CPU configurations and
large bitmask values.
This iteration incorporates the use of iter->tmp_seq to ensure the
implementation is robust, instance-aware, and free from buffer contention
or duplication issues.
Please let me know your thoughts.
Hi Steve,
I would like to ask if this iteration is suitable for inclusion, or should
any further refinements be made?
Kind regards,
--
Aaron Tomlin