NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49939: ktrace/kdump doesn't decode sysctls



>Number:         49939
>Category:       bin
>Synopsis:       ktrace/kdump doesn't decode sysctls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 31 08:55:00 +0000 2015
>Originator:     David A. Holland
>Release:        NetBSD 7.0_BETA (20150529)
>Organization:
>Environment:
System: NetBSD bantha 7.0_BETA NetBSD 7.0_BETA (BANTHA) #4: Fri May 29 23:52:33 EDT 2015  root@bantha:/usr/src/sys/arch/i386/compile/BANTHA i386
Architecture: i386
Machine: i386
>Description:

ktrace/kdump doesn't decode sysctls; it just prints the pointer
arguments of __sysctl(2).

  3916      1 w        CALL  __sysctl(0xbfbfdd3c,2,0xbbbd54bc,0xbfbfdd38,0,0)
  3916      1 w        RET   __sysctl 0

The average process issues a lot of sysctls and if one is trying to
debug something related to one, it's hard to be sure you've found the
one you're interested in.

Therefore, it would be nice if we could get at least the numeric mibs
and ideally the symbolic name. (This might require adding a new trace
record type.)

>How-To-Repeat:

ktrace w; kdump

>Fix:
to be argued over



Home | Main Index | Thread Index | Old Index