Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2021 19:16:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253440] dtrace failing to resolve some fbt probe argument types
Message-ID:  <bug-253440-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 253440
           Summary: dtrace failing to resolve some fbt probe argument
                    types
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

We have:

> dtrace -lv -n fbt::ifa_alloc:entry
   ID   PROVIDER            MODULE                          FUNCTION NAME
52703        fbt            kernel                         ifa_alloc entry

        Probe Description Attributes
                Identifier Names: Private
                Data Semantics:   Private
                Dependency Class: Unknown

        Argument Attributes
                Identifier Names: Private
                Data Semantics:   Private
                Dependency Class: ISA

        Argument Types
                args[0]: (unknown)
                args[1]: int

But:

> ctfdump -f /boot/kernel/kernel | grep ifa_alloc
  [28508] FUNC (ifa_alloc) returns: 533 args: (35, 66)
> ctfdump -t /boot/kernel/kernel | grep -B3 '<35>'
  <32> INTEGER unsigned long encoding=3D0x0 offset=3D0 bits=3D64
  <33> TYPEDEF __uint64_t refers to 32
  <34> TYPEDEF __size_t refers to 33
  <35> TYPEDEF size_t refers to 34

So the type info is there.  DTRACE_DEBUG shows

libdtrace DEBUG: discovering probe fbt:kernel:ifa_alloc:entry id=3D52703
libdtrace DEBUG: failed to resolve input type size_t for
fbt:kernel:ifa_alloc:entry arg #1: syntax error near "

--=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-253440-227>