From owner-freebsd-dtrace@freebsd.org Mon Jun 18 19:08:26 2018 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCE5B101ABBB for ; Mon, 18 Jun 2018 19:08:26 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A80C6D1B2 for ; Mon, 18 Jun 2018 19:08:26 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7FD532203F for ; Mon, 18 Jun 2018 15:08:25 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Mon, 18 Jun 2018 15:08:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=o9VDK6ej9s3/mxdKICzSHLzG0POaTEvx1eCPUVasZJo=; b=mtWAeFF2 cN7rmsdyscy4LQad+DukHbhnD2//EHbkO7xaLdYl+ZG2yPbpcLURkpjrZZCjceAo hgn7gtPcHvUjzsdRAzOVbMrT/HT7va36dkyHttcZLPshD1ANDa+0b7cKh/krAtMK ZnK9892KhlJBTuAjR9rJpJKPfwD0bl80Kuar1KBhWVZ8KEIOZp/2N0u3L/sVG4Yg aHbwQuSlBulu3aL7m9I6Dd4L87Kyj9hAOEmAE7Lwdva4R5KkuJ00T87w1Tk0cwGs aRObrFOeOrx4npYPibtpSfpx8t6SeRLrVuCzyx/lEJMYMRsxDbo1E5H1mK1eXw5M DnFRnRv9WBqZOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=o9VDK6ej9s3/mxdKICzSHLzG0POaT Evx1eCPUVasZJo=; b=E/3nZYrtWsDhccaQmlglFjpHtQVeBce13xFAddEZrNt2R lvDIj4Ppk6keNhiw8gtbGRANlcyBBJj/I8HYCy4J4JjRG+xq5k65qR+ZXaJZxZ8c XcpxRXkItayaMIFKyMsAiF2uvbZKPY8AIj9CNfH3MZHgHGaEZAXH84+ad8f0s7ay We8zrT5dCEDv4m8VL53HU6S9QaBYOgPPtMn1Z5Y/pU0/ZvGFxSGPydLktECrVRkI XMwRXJ18P7Gw69CDQTaZZFv7WzZwHPWSXD4HRUnkA8EMBeDMACn3egFmD2s578GW RUv/Sbp+QAC66JV+gGoDyU1JKbWDqsWEie+yfzPfA== X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 40E2E410D; Mon, 18 Jun 2018 15:08:25 -0400 (EDT) Message-Id: <1529348905.2613088.1412091424.2D14994E@webmail.messagingengine.com> From: Dave Cottlehuber To: freebsd-dtrace@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-498d70f2 Subject: where did FreeBSD 11's syscall::lstat go? where do syscall probes get defined? Date: Mon, 18 Jun 2018 21:08:25 +0200 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 19:08:27 -0000 As a novice dtracer, I realised I don't know how dtrace probes for the base system are created, and why some syscalls seem to have probes and others don't. For example, 11.1 has syscall::lstat but 12.0 doesn't, although there is syscall::compat11.lstat, and syscall::stat has also disappeared. BTW I assume that this was related to the ino64 changes, where lib/libc/sys/stat.c and lstat.c were added: https://svnweb.freebsd.org/base?view=revision&revision=318736 But I don't see where the compat11 change was introduced. Can somebody enlighten me? http://dtrace.org/guide/chp-syscall.html#chp-syscall hasn't filled out the details, nor has the handbook. FWIW this is related to https://reviews.freebsd.org/D15879 where the changed probe list broke dtruss from sysutils/dtracetoolkit. A+ Dave