Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2023 01:33:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269906] dtrace requires empty expression to print anything from matching search
Message-ID:  <bug-269906-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269906

            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 =3D=3D 1/'
dtrace: invalid probe specifier kinst::virtqueue_poll: /cpu =3D=3D 1/: synt=
ax error
near end of input


the same command with an empty expression:

root@freebsd:~ # dtrace -n 'kinst::virtqueue_poll: /cpu =3D=3D 1/{}' | head
dtrace: description 'kinst::virtqueue_poll: ' matched 83 probes
CPU     ID                    FUNCTION:NAME
  1  73362               virtqueue_poll:137=20
  1  73363               virtqueue_poll:141=20
  1  73364               virtqueue_poll:144=20
  1  73365               virtqueue_poll:151=20
  1  73366               virtqueue_poll:155=20
  1  73367               virtqueue_poll:158=20
  1  73355               virtqueue_poll:112=20
  1  73356               virtqueue_poll:115=20
  1  73357               virtqueue_poll:118=20
dtrace: failed to write to <stdout>: Broken pipe
root@freebsd:~ #

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269906-227>