Re: [PATCH v2 2/2] hexdump: Allow skipping identical lines
From: Randy Dunlap
Date: Sat Jan 11 2025 - 00:36:39 EST
Hi,
On 1/10/25 10:42 AM, Miquel Raynal wrote:
> diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst
> index ecccc0473da9c10f45f2464566f690472c61401e..90e6616284d1faf5882019eba8de6bebffe4883a 100644
> --- a/Documentation/core-api/printk-formats.rst
> +++ b/Documentation/core-api/printk-formats.rst
> @@ -310,7 +310,9 @@ Raw buffer as a hex string
>
> For printing small buffers (up to 64 bytes long) as a hex string with a
> certain separator. For larger buffers consider using
> -:c:func:`print_hex_dump`.
> +:c:func:`print_hex_dump`, especially since dupplicated lines can be
duplicated
> +skipped automatically to reduce the overhead with the
> +``DUMP_FLAG_SKIP_IDENTICAL_LINES`` flag.
>
> MAC/FDDI addresses
> ------------------
--
~Randy