Offsets in stack() off

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Sun, 22 Aug 2021 17:37:06 +0000 (UTC)
Hi,

I recently used Dtrace again to do kernel debugging, though in
LinuxKPi which uses a lot of inline functions.   This was on amd64.

I found that the offsets into functions from stack() were so far off
when I did l *func+0x??? in gdb that I couldn't even figure out where
the actual code place of a small inline function was called and I
ended up adding SDT probes and passing __func__ and __LINE__ into
them so figure the culprits out.

Has anyone else observed something like this lately?


/bz

-- 
Bjoern A. Zeeb                                                     r15:7
Received on Sun Aug 22 2021 - 17:37:06 UTC

Original text of this message