https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195222
--- Comment #2 from Andriy Gapon <[email protected]> --- (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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace To unsubscribe, send any mail to "[email protected]"
