[Bug 269906] dtrace requires empty expression to print anything from matching search
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269906] dtrace_kinst: dtrace requires empty expression to print anything from matching search"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269906] dtrace_kinst: dtrace requires empty expression to print anything from matching search"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 01:33:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269906
Bug ID: 269906
Summary: dtrace requires empty expression to print anything
from matching search
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: freebsd@igalic.co
example:
root@freebsd:~ # dtrace -n 'kinst::virtqueue_poll: /cpu == 1/'
dtrace: invalid probe specifier kinst::virtqueue_poll: /cpu == 1/: syntax error
near end of input
the same command with an empty expression:
root@freebsd:~ # dtrace -n 'kinst::virtqueue_poll: /cpu == 1/{}' | head
dtrace: description 'kinst::virtqueue_poll: ' matched 83 probes
CPU ID FUNCTION:NAME
1 73362 virtqueue_poll:137
1 73363 virtqueue_poll:141
1 73364 virtqueue_poll:144
1 73365 virtqueue_poll:151
1 73366 virtqueue_poll:155
1 73367 virtqueue_poll:158
1 73355 virtqueue_poll:112
1 73356 virtqueue_poll:115
1 73357 virtqueue_poll:118
dtrace: failed to write to <stdout>: Broken pipe
root@freebsd:~ #
--
You are receiving this mail because:
You are the assignee for the bug.