This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Make kernel DWARF unwinder work with ksalr.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]