Date: Thu, 23 Apr 2015 14:20:29 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-dtrace@FreeBSD.org Subject: [Bug 195222] dtrace kernel sdt probes must always be anchored Message-ID: <bug-195222-32976-HyVGroEFMu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195222-32976@https.bugs.freebsd.org/bugzilla/> References: <bug-195222-32976@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195222 --- Comment #2 from Andriy Gapon <avg@FreeBSD.org> --- (In reply to Mark Johnston from comment #1) Mark, sorry for not getting back sooner. It so happened that when opened this bug report I also did some quick hacking along the same lines as your work: https://github.com/avg-I/freebsd/compare/master...avg-I:experiment/amd64-sdt-invop https://github.com/avg-I/freebsd/compare/master...avg-I:experiment/amd64-sdt-invop.diff This is also WIP. Some things that I considered which are not done: - remove function parameter from SDT probes, so that it is not set by a programmer but is determined automatically - #BP could be used instead of #UD to trigger an SDT probe Instead of sdtconvert like yours I used a shell script that generates an assembly file that defines a linker set pointing to all the interesting addresses. Unfortunately, I do not have much time to work at this now. I hope that eventually one of us would be able to converge the changes and commit the result. One last note, I cared only about amd64 in my changes. Obviously, all supported architectures have to be covered. Or perhaps we could support both ways of implementing SDT probes, so that architectures could be converted one by one. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195222-32976-HyVGroEFMu>
