Date: Sun, 22 Aug 2021 17:37:06 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: dtrace@FreeBSD.org Subject: Offsets in stack() off Message-ID: <alpine.BSF.2.00.2108221731230.68830@ai.fobar.qr>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2108221731230.68830>