Date: Wed, 24 Oct 2018 13:14:10 -0400 From: Ryan Stone <rysto32@gmail.com> To: lev@freebsd.org Cc: freebsd-hackers@freebsd.org, Alan Somers <asomers@freebsd.org>, Conrad Meyer <cse.cem@gmail.com> Subject: Re: What is wrong with dtrace's stack()? Message-ID: <CAFMmRNzSAVfGywx%2BPfkQ1Oq1Lt3c53FFQpxDagnkdN=AYQqBCA@mail.gmail.com> In-Reply-To: <c7e9aa2f-8efa-6f48-d4b1-3705928803b2@FreeBSD.org> References: <170994671.20181021201021@serebryakov.spb.ru> <CAG6CVpVCe-8OVU%2BKEyAh8swFSAjRshNcNLN0tjAS3W8bZxyrTA@mail.gmail.com> <475670271.20181022003734@serebryakov.spb.ru> <CAOtMX2goztCYJXM72WNR711DEBEKAGk1zFHF=NpE4UiVAF2bAQ@mail.gmail.com> <234d745d-37a9-9610-15b9-0f5cd5af21bf@FreeBSD.org> <b30f2080-1037-1752-60fb-6d22e28ce90d@FreeBSD.org> <CAFMmRNz35Ay82NcMnUkSAvpyU5p2m9ykiji1xXcbEanH9A2H%2Bw@mail.gmail.com> <168122586.20181024003412@serebryakov.spb.ru> <CAFMmRNxbu=V6F9LW_6oWeQzws%2B1-UhETC%2BWWGMFGKAoH-5Ajjw@mail.gmail.com> <c7e9aa2f-8efa-6f48-d4b1-3705928803b2@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
ia32_pause() is an inline function. How does dtrace map instruction pointers to symbol names? Is it getting that mapping from some CTF data, and is that CTF data aware of inline functions? If so, I'd argue that behaviour is counter-intuitive and unhelpful, as this example here shows.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNzSAVfGywx%2BPfkQ1Oq1Lt3c53FFQpxDagnkdN=AYQqBCA>