This is simpler and more robust in the face of potential double-frees
(e.g. if called after bus_generic_detach which will delete devices in
a future commit).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
This comment applies only to amd64 now. riscv and arm64 allocate trampolines at probe creation time. If that fails, an error can be signaled to libdtrace, and the user will get a nice error message.
In other words, I think there is no need to log anything on !amd64 if trampoline allocation fails.