HomeFreeBSD

linuxkpi: Add hex_dump_to_buffer()

Description

linuxkpi: Add hex_dump_to_buffer()

This function prints a single line of hex dump to the given line buffer.

The implementation relies on lkpi_hex_dump() to format the string.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51559

(cherry picked from commit b1bef9f7e0e182a9eee222639ffc8af4883ec0fa)

Details

Provenance
dumbbellAuthored on Jul 10 2025, 11:03 PM
bzCommitted on Apr 22 2026, 8:56 PM
Reviewer
bz
Differential Revision
D51559: linuxkpi: Add hex_dump_to_buffer()
Parents
rG75be6c1207ba: linuxkpi: Add option to skip trailing newline in `lkpi_hex_dump()`
Branches
Unknown
Tags
Unknown