Thread (29 messages) 29 messages, 7 authors, 2019-04-15

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

From: Sergey Senozhatsky <hidden>
Date: 2019-04-10 08:53:18
Also in: dri-devel, intel-gfx, linux-fbdev, linux-fsdevel, linux-scsi, linux-wireless, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help