]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Decode 32bit utrace records on the 64bit host.
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 12 Aug 2016 07:54:59 +0000 (07:54 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 12 Aug 2016 07:54:59 +0000 (07:54 +0000)
commit68e9b1e8e1dc4b508a2c7f7f87a9b21723172aeb
tree737b0d0461a71ec7394508954df4ea2a5a0f154a
parent6bdee22607adea4071c4d152c433c541d551acbd
Decode 32bit utrace records on the 64bit host.

Suppose that ktrace is performed on 32bit binary running on 64bit
host.  In this case, the kernel records are 64bit, while utrace
records from rtld and malloc are 32bit.  Make kdump useful to see
decoded utrace data in that case.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
lib/libsysdecode/utrace.c