Make kernel DWARF unwinder work with ksalr.
Torsten Polle
Torsten.Polle@gmx.de
Sun Apr 22 08:52:00 GMT 2018
Hi Mark,
I noticed that you made a similar commit (17ee540dd61113fe4f557f191db3480db875cca1)
to the one I proposed in [1].
The only difference is that you leave out the alignment of s->static_addr.
s->static_addr is equal to „_stext“, which is 0xc9600358 on my test instance.
While s->sec_load_offset is aligned to 0xc1000000 in a particular run. This
results in a misaligned offset. While on X86 and ARM64, the offset is aligned.
Without the alignment, I get strange results.
Arguably I choose a hard coded value 0x1fffff. Actually it should be based on
CONFIG_PHYSICAL_ALIGN on X86, but on ARM64 it is hard coded as well.
Kind Regards,
Torsten
[1] https://sourceware.org/ml/systemtap/2018-q1/msg00090.html
More information about the Systemtap
mailing list