This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/3668] New: Add hex dump function for arbitrary buffers
- From: "mmlnx at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Dec 2006 21:12:28 -0000
- Subject: [Bug tapsets/3668] New: Add hex dump function for arbitrary buffers
- Reply-to: sourceware-bugzilla at sourceware dot org
Need a function that prints the contents of an arbitrary buffer in hex format,
something like the following:
print_hexdump(bufptr:long, len:long)
Example output:
BFFFF6C0 : 03 00 00 00 D4 86 04 08 - 00 00 00 00 F5 86 04 08 ................
BFFFF6B0 : 03 00 00 00 F4 F6 FF BF - 04 F7 FF BF 2C 58 01 40 ............,X.@
BFFFF6A0 : 60 53 01 40 24 8F 04 08 - C8 F6 FF BF 04 55 01 42 `S.@$........U.B
BFFFF690 : 14 0A 13 42 70 C6 00 40 - 10 00 00 00 14 0A 13 42 ...Bp..@.......B
It needs to gracefully handle:
- pointers to user and kernel buffers
- requests to dump bad memory locations
- requests to dump an excessive amount of memory, perhaps restricted by a
MAXHEXDUMP define
This capability would be very useful, for example, in debugging situations where
bad data is suspected of being read or written.
--
Summary: Add hex dump function for arbitrary buffers
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mmlnx at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3668
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.