Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2019 10:49:34 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        lev@FreeBSD.org, freebsd-hackers@freebsd.org
Subject:   =?UTF-8?Q?Re=3a_DTrace_SDT_probes_in_kernel_module_=e2=80=94_how_to?= =?UTF-8?Q?=3f?=
Message-ID:  <330a2a83-0fe8-e599-5b36-3b347acdd557@gmail.com>
In-Reply-To: <234087607.20190606204312@serebryakov.spb.ru>
References:  <234087607.20190606204312@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?330a2a83-0fe8-e599-5b36-3b347acdd557>