Re: DTrace SDT probes in kernel module — how to?
Navdeep Parhar
nparhar at gmail.com
Thu Jun 6 17:49:39 UTC 2019
On 2019-06-06 10:43, Lev Serebryakov wrote:
> Hello Freebsd-hackers,
>
> What should I do to add SDT probes into kernel module. I've tried to add simple
>
> DTRACE_PROBE1(module__name, type, value);
>
> to source code. No errors, no probes after module load. I've added WITH_CTF=1 to make
> command line. Warnings from ctfmerge, no probes after module load.
>
> What is proper way to add SDT probes to module and how should I build it?
>
Have you seen https://wiki.freebsd.org/DTrace/HowToAddSDTProbes ?
Please update it if it's out of date.
Regards,
Navdeep
More information about the freebsd-hackers
mailing list