[Crash-utility] [PATCH v2] x86, kaslr: export offset in VMCOREINFO ELF notes

Peter Zijlstra peterz at infradead.org
Mon Jan 27 16:19:59 UTC 2014


On Mon, Jan 27, 2014 at 05:56:38PM +0200, Adrian Hunter wrote:
> No. In fact annotation works now with kcore.  Linus' problem was with vmlinux.
> 
> Kcore won't be used with kaslr in the case:
> 	1. record data with 'perf record'
> 	2. reboot
> 	3. use annotation on the previously recorded data
> 
> As I noted in the commit message, you can still use kcore if you made a copy
> (with perf buildid-cache) at the time the data was recorded.

Not that I care much about this particular case; but you could also save
the offset at record time and do double offset correction assuming its
still the same kernel you booted into but at a different location.





More information about the Crash-utility mailing list