[PATCH 4/4] lib/hexdump.c: Allow multiple groups to be separated by lines '|'

Sergey Senozhatsky sergey.senozhatsky.work at gmail.com
Wed Apr 10 08:53:05 UTC 2019


On (04/10/19 13:17), Alastair D'Silva wrote:
> With the wider display format, it can become hard to identify how many
> bytes into the line you are looking at.
> 
> The patch adds new flags to hex_dump_to_buffer() and print_hex_dump() to
> print vertical lines to separate every N groups of bytes.
> 
> eg.
> buf:00000000: 454d414e 43415053|4e495f45 00584544  NAMESPAC|E_INDEX.
> buf:00000010: 00000000 00000002|00000000 00000000  ........|........

What if the output had |-s in it?  |||||||||

	-ss


More information about the dri-devel mailing list