From owner-freebsd-current@freebsd.org Thu Jul 7 05:02:00 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6BDEB7580B; Thu, 7 Jul 2016 05:02:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E4441FA3; Thu, 7 Jul 2016 05:02:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-236-103.lns20.per1.internode.on.net [121.45.236.103]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u674pwQI065383 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 6 Jul 2016 21:52:02 -0700 (PDT) (envelope-from julian@freebsd.org) To: freebsd-dtrace@freebsd.org, freebsd-current From: Julian Elischer Subject: dtrace and kernel modules Message-ID: Date: Thu, 7 Jul 2016 12:51:52 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 05:02:00 -0000 I'm specifically interested in the case of kernel modules that instantiate new syscalls. How much support do we have for that? In the one example in our sources of a kld with a syscall (kgssapi.ko) dtrace seems to find regular function entrypoints but not the syscall. root@porridge:/usr/src # dtrace -n ":kgssapi::entry {}" dtrace: description ':kgssapi::entry ' matched 138 probes ^C root@porridge:/usr/src # dtrace -n "syscall:kgssapi::entry {}" dtrace: invalid probe specifier syscall:kgssapi::entry {}: probe description syscall:kgssapi::entry does not match any probes root@porridge:/usr/src # Do we have plans to support dynamic syscall support?