[Bug 269906] dtrace_kinst: dtrace requires empty expression to print anything from matching search

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Mar 2023 06:20:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269906

Christos Margiolis <christos@margiolis.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christos@margiolis.net

--- Comment #1 from Christos Margiolis <christos@margiolis.net> ---
(In reply to Mina Galić from comment #0)

A predicate requires a body, this is not a kinst bug.
FBT does the same thing:

# dtrace -n 'fbt::virtqueue_poll: /cpu == 1/'
dtrace: invalid probe specifier fbt::virtqueue_poll: /cpu == 1/: syntax error
near end of input

# dtrace -n 'fbt::virtqueue_poll: /cpu == 1/{}'
dtrace: description 'kinst::virtqueue_poll: ' matched 2 probes

-- 
You are receiving this mail because:
You are the assignee for the bug.