Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9679607ybi; Wed, 10 Jul 2019 14:52:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqx34MdK/qh3iQYZUnlUUzZ5gAfW5ZHrcWnXyKbeFteznAulGiSagaumDSTfglc3xfHyCwB9 X-Received: by 2002:a17:90a:cf0d:: with SMTP id h13mr615654pju.63.1562795536332; Wed, 10 Jul 2019 14:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562795536; cv=none; d=google.com; s=arc-20160816; b=O1zEkHJOGzxLo4bU075gZkvRbpuUWzQwKLd/xVajGaOHLFm/8u8NpnJJ6cTDyEkocG 6jmvPMs3FRwl7Odns1KjYxjrTpZVes+avv8kUCZ6uCBQmZYpCdF26nhYvoN/RxFjduEE NGF2J6WAIBbsgJO0lyIdkFDYPKdwpYeGVRaYGAv71Sq88TC2s5qu/KPwlcSMBar9Wi0I 8a15lfpqCX1f8fMzZ8FsCxgVmGsiAl4kmKOcR52OJjzzhm6OOAtS9Rf3W/DFTeVsa1bD enAVgiW4nOvJCjpcWOj+0zyowlMALoftwp1N3SLNpWvg0qUWfGblScXmuOfheAh3w/zq uM4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=EWQDqn1e55dB5rItz9YYrOjXtX6ET1dWdk8zQ2oYUq4=; b=gVTWI2uUJilYjbjL6gg2xBwXpeHw1j/ekIDgrQtxV7ViSftVVGsDpJCYucRAiKYn/1 3bdNjwSAW4/YxrMw9/c1a150wiMUo65hx9t0MdrqZ8tXyxlG4gkeyUldhKMHgiwMbu// PvFqJy4OpmVe3wkiUkxbKiY7puDc29fns6zNKV5KEj4sv5bC89IqwzeSsS752kJRApnu oqFkx3uHBbUdtYVSM3xtgDGGdNFv6UEZnJPNzIz0ET/xz+TE6KemRnXQKbzD8R90HPK8 mtfoL68Kn7RLaO4sbya9f5ym+3EinruM9VwsCEO3qCbIexSZKj5v7R94QMgaV58GtVZJ dHHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si3419927pfq.88.2019.07.10.14.51.57; Wed, 10 Jul 2019 14:52:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbfGJVTw (ORCPT + 99 others); Wed, 10 Jul 2019 17:19:52 -0400 Received: from www62.your-server.de ([213.133.104.62]:45558 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727220AbfGJVTw (ORCPT ); Wed, 10 Jul 2019 17:19:52 -0400 Received: from [78.46.172.2] (helo=sslproxy05.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1hlK08-0002zM-9q; Wed, 10 Jul 2019 23:19:44 +0200 Received: from [178.193.45.231] (helo=linux.home) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1hlK08-00021W-2p; Wed, 10 Jul 2019 23:19:44 +0200 Subject: Re: [PATCH V2 1/1 (was 0/1 by accident)] tools/dtrace: initial implementation of DTrace To: Jonathan Corbet Cc: Kris Van Hees , netdev@vger.kernel.org, bpf@vger.kernel.org, dtrace-devel@oss.oracle.com, linux-kernel@vger.kernel.org, rostedt@goodmis.org, mhiramat@kernel.org, acme@kernel.org, ast@kernel.org, Peter Zijlstra , Chris Mason , brendan.d.gregg@gmail.com, davem@davemloft.net References: <201907101537.x6AFboMR015946@aserv0122.oracle.com> <201907101542.x6AFgOO9012232@userv0121.oracle.com> <20190710181227.GA9925@oracle.com> <20190710143048.3923d1d9@lwn.net> From: Daniel Borkmann Message-ID: <1de27d29-65bb-89d3-9fca-7c452cd66934@iogearbox.net> Date: Wed, 10 Jul 2019 23:19:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20190710143048.3923d1d9@lwn.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.3/25506/Wed Jul 10 10:11:44 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/10/2019 10:30 PM, Jonathan Corbet wrote: > On Wed, 10 Jul 2019 21:32:25 +0200 > Daniel Borkmann wrote: > >> Looks like you missed Brendan Gregg's prior feedback from v1 [0]. I haven't >> seen a strong compelling argument for why this needs to reside in the kernel >> tree given we also have all the other tracing tools and many of which also >> rely on BPF such as bcc, bpftrace, ply, systemtap, sysdig, lttng to just name >> a few. > > So I'm just watching from the sidelines here, but I do feel the need to > point out that Kris appears to be trying to follow the previous feedback > he got from Alexei, where creating tools/dtrace is exactly what he was > told to do: > > https://lwn.net/ml/netdev/20190521175617.ipry6ue7o24a2e6n@ast-mbp.dhcp.thefacebook.com/ > > Now he's being told the exact opposite. Not the best experience for > somebody who is trying to make the kernel better. Ugh, agree, sorry for the misleading direction. Alexei is currently offgrid this week, he might comment later. It has nothing to do with making the _kernel_ better, it's a /user space/ front end for the existing kernel infrastructure like many of the other tracers out there. Don't get me wrong, adding the missing /kernel parts/ for it is a totally different subject [and _that_ is what is making the kernel better, not the former]. Hypothetical question: does it make the _kernel_ better if we suddenly add a huge and complex project like tools/mysql/ to the kernel tree? Nope. > There are still people interested in DTrace out there. How would you > recommend that Kris proceed at this point? My recommendation to proceed is to maintain the dtrace user space tooling in its own separate project like the vast majority of all the other tracing projects (see also the other advantages that Steven pointed out from his experience), and extend the kernel bits whenever needed. Thanks, Daniel