Date: Tue, 30 Aug 2011 13:10:19 GMT From: Paul Ambrose <ambrosehua@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/160307: [dtrace] dtrace -lv can not identify the args of the probe function Message-ID: <201108301310.p7UDAJg4087059@red.freebsd.org> Resent-Message-ID: <201108301320.p7UDKBNe089268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160307 >Category: kern >Synopsis: [dtrace] dtrace -lv can not identify the args of the probe function >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 30 13:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Paul Ambrose >Release: 9.0-beta2 >Organization: >Environment: FreeBSD lateaxfreebsd 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r+c45c70e: Mon Aug 29 21:17:01 CST 2011 root@lateaxfreebsd:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: [root@lateaxfreebsd ~]# dtrace -lv | grep -C 15 '(unknown)' 17894 vfs namecache fullpath hit 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]: struct vnode * args[1]: (unknown) args[2]: (unknown) the addon is the list of all the probe functions that can not identify args type, commit 209358 by marcel@freebsd.org seems to fix a similar problem but that fix DOES NOT work on this one. >How-To-Repeat: run [root@lateaxfreebsd ~]# dtrace -lv | grep -C 15 '(unknown)' with dtrace enabled >Fix: Patch attached with submission follows: 17894 vfs namecache fullpath hit 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]: struct vnode * args[1]: (unknown) args[2]: (unknown) 17895 vfs namecache fullpath miss 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]: struct vnode * -- 17896 vfs namecache fullpath return 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]: int args[1]: struct vnode * args[2]: (unknown) 17897 vfs namecache lookup hit 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]: char * args[2]: struct vnode * 17898 vfs namecache lookup hit-negative Probe Description Attributes Identifier Names: Private Data Semantics: Private Dependency Class: Unknown Argument Attributes Identifier Names: Private Data Semantics: Private Dependency Class: ISA -- 18021 mac kernel policy modevent 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]: int args[1]: (unknown) 18022 mac kernel policy register 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]: struct mac_policy_conf * -- args[0]: struct mac_policy_conf * 18024 mac_framework kernel priv_grant mac-grant-ok 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]: struct ucred * args[2]: int 18025 mac_framework kernel proc_check_debug mac-check-err Probe Description Attributes Identifier Names: Private Data Semantics: Private Dependency Class: Unknown Argument Attributes Identifier Names: Private Data Semantics: Private Dependency Class: ISA -- 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]: int args[1]: struct ucred * args[2]: struct vnode * args[3]: (unknown) args[4]: struct acl * 18146 mac_framework kernel vnode_check_setextattr mac-check-ok 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 -- 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]: int args[1]: caddr_t args[2]: size_t args[3]: int args[4]: (unknown) args[5]: (unknown) 18300 syscall freebsd recvfrom return 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]: int args[1]: caddr_t args[2]: size_t args[3]: int args[4]: (unknown) args[5]: (unknown) 18301 syscall freebsd accept 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]: int args[1]: (unknown) args[2]: (unknown) 18302 syscall freebsd accept return 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]: int args[1]: (unknown) args[2]: (unknown) 18303 syscall freebsd getpeername 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]: int args[1]: (unknown) args[2]: (unknown) 18304 syscall freebsd getpeername return 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]: int args[1]: (unknown) args[2]: (unknown) 18305 syscall freebsd getsockname 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]: int args[1]: (unknown) args[2]: (unknown) 18306 syscall freebsd getsockname return 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]: int args[1]: (unknown) args[2]: (unknown) 18307 syscall freebsd access 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]: char * >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108301310.p7UDAJg4087059>