Re: [PATCH 0/2] introduce DUMP_PREFIX_UNHASHED for hex dumps

From: Timur Tabi
Date: Tue Jan 19 2021 - 16:27:13 EST

On 1/19/21 3:15 PM, Steven Rostedt wrote:
When it's not related to any symbol, doesn't it still produce an offset
with something close by, that could still give you information that's
better than a hashed number.

No. I often need the actual unhashed address in the hex dump so that I can see if some other pointer is correct.

For example, I could be doing pointer math to calculate the address of some data inside a block. In this case, I would %px the pointer, and then hex_dump the block. I can then see not only where inside the block the pointer is pointing to, but what data it points to.