Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2019 20:47:10 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        John Baldwin <jhb@FreeBSD.org>, freebsd-stable@freebsd.org
Subject:   Re: svn commit: r351246 - in stable: 11/sys/opencrypto 12/sys/opencrypto
Message-ID:  <d249f301-a7dd-4ead-7599-026096c439cc@sentex.net>
In-Reply-To: <a2d1066a-a6e4-9316-4d5b-0bbe46e18c11@FreeBSD.org>
References:  <201908200130.x7K1UajV079446@repo.freebsd.org> <c31bca3a-dd62-d828-5f57-30b4e210f084@sentex.net> <3101bd14-316a-baaa-6269-297903c45f23@FreeBSD.org> <eb53fa90-5dfb-8341-f402-d4b2f7a71b5e@sentex.net> <a2d1066a-a6e4-9316-4d5b-0bbe46e18c11@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/21/2019 6:38 PM, John Baldwin wrote:
> On 8/21/19 9:08 AM, mike tancsa wrote:
>> On 8/21/2019 12:00 PM, John Baldwin wrote:
>>> dtrace -n 'fbt::_gone_in:entry { @counts[curthread->td_proc->p_comm] =
=3D count()'
>> Thanks, I am not familiar with dtrace at all. This command gives a
>> syntax error
>>
>> 0(cage)# dtrace -n 'fbt::_gone_in:entry {
>> @counts[curthread->td_proc->p_comm] =3D count()'
>> dtrace: invalid probe specifier fbt::_gone_in:entry {
>> @counts[curthread->td_proc->p_comm] =3D count(): syntax error near end=
 of
>> input
>> 1(cage)#
> Oops, I forgot the closing }.  First, do "dtrace -l | grep _gone_in" to=
 make
> sure dtrace is loaded.  You should see something like this:
>
> # dtrace -l | grep _gone_in
> 87003        fbt            kernel                          _gone_in en=
try
> 87004        fbt            kernel                          _gone_in re=
turn
> 98682        fbt            kernel                      _gone_in_dev en=
try
> 98683        fbt            kernel                      _gone_in_dev re=
turn
>
> Then this should work:
>
> # dtrace -n 'fbt::_gone_in:entry { @counts[curthread->td_proc->p_comm] =
=3D count() }'
> dtrace: description 'fbt::_gone_in:entry ' matched 1 probe
>
Thanks!

#=C2=A0 dtrace -l | grep _gone_in
15632=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fbt=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 _gone_in entry
22693=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fbt=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 _gone_in_dev entry

# dtrace -n 'fbt::_gone_in:entry { @counts[curthread->td_proc->p_comm] =3D=

count() }'
dtrace: description 'fbt::_gone_in:entry ' matched 1 probe

However, It doesnt show anything after that even as I get the
deprecation messages in dmesg

=C2=A0=C2=A0=C2=A0 ---Mike

--=20
-------------------
Mike Tancsa, tel +1 519 651 3400 x203
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada  =20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d249f301-a7dd-4ead-7599-026096c439cc>