[Bug 253440] dtrace failing to resolve some fbt probe argument types

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 19:16:43 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253440

            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 at FreeBSD.org
          Reporter: markj at 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=0x0 offset=0 bits=64
  <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=52703
libdtrace DEBUG: failed to resolve input type size_t for
fbt:kernel:ifa_alloc:entry arg #1: syntax error near "

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


More information about the freebsd-bugs mailing list