Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9679713ybi; Wed, 10 Jul 2019 14:52:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxK9C6oAcZhOwygsmKvcF4qu6N5OKsEfk0M7Dnqoc4HR9K/h7UxHPa5ugGK6EQfV7HgtZ32 X-Received: by 2002:a17:90a:20a2:: with SMTP id f31mr643059pjg.90.1562795542428; Wed, 10 Jul 2019 14:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562795542; cv=none; d=google.com; s=arc-20160816; b=I173y0wExUS97gR+i60kt563ju4BP+pEPmQemfc7gjvpQuV7rSr89SDIodxIgYF2vS 1jk0edEMmzIWb6iViEv0j2sOr/UYkUU66D3cSZffgtOVJw3NpyJ2z9w++q1UYGnyiTrE jJi6S319lnpKB5xiYin+P7XMk6bCu9sKEfNihyTT1Ud44j4twQKP7xwSfck/rChg/Hwf 9Bk+a++ZcU37S+A6bC7b8EJSDH6EyqwNPkcLgL/gALiWhQFICDX2qyh8MmuW2BL8JHOM fka8RhxKBoEQ4+l4Bw8wd5zxODqfbrzbBhDjAmqJ/281qQ8U+89fbb2XA1kDR69kFmJu n5pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dFt+cuvDVhvBVqTLWGoedPkcFkamyQULj+E9pxwktXA=; b=seveowGGi6PPZVmaeEFep19axplssJh7+BEloCOcLJz0vMLIeafPoQidQX9fzxK2VV KLiIrvdQMvOsMbGuVl1ghuphABcgU7AuTCudNaNtSV/pj3zIbtq2G9JVD8BEdG8Iehwf MjQP2EGJ+EgYudEf7pE4e/vAMIhTWz/+Z0XF7MtP5XDfbUEsbHFvmkHGTcpNtP3iGxEN 0kOZbgofvu1GbNdwaZBRlu0VngGL+y8ZcWxOdHb/Kan0RrF/v1y2m5069EHW20O120IT qgPomN+UT977XbwKnMCLTWq6a+OErn1G+8kWDIFLkpb5PZuw5Hr1sDrFC9S2hlUqzrXZ vQ9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t6ZrgbKf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r24si2977551pgv.323.2019.07.10.14.52.07; Wed, 10 Jul 2019 14:52:22 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t6ZrgbKf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727836AbfGJVfa (ORCPT + 99 others); Wed, 10 Jul 2019 17:35:30 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33774 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfGJVfa (ORCPT ); Wed, 10 Jul 2019 17:35:30 -0400 Received: by mail-wm1-f66.google.com with SMTP id h19so5540686wme.0; Wed, 10 Jul 2019 14:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dFt+cuvDVhvBVqTLWGoedPkcFkamyQULj+E9pxwktXA=; b=t6ZrgbKf29meYrzHac+kqDzn8o7Q/MRK7kaFXlO/BSnG3CJ98MKguWFCDCTg/XwI4J CN3utJM3+xsoNXieHfDAT9oyxxkJ+bAWBbwjX7swkjojlDNt/TpfoJEPXadOj5Vx86o9 gBBgQ1thX45wTvoqT18mgHvS5PgUhFx1uid7mBt33CZNa2oLmrR8r3OIiuCFxYZN4L1l PGfkrEV0bkm3C1fnViDo9ghi9GGw2BL7ud5BozVwtfas9SDWoKhgMRNBgjJ/koR3o4Pr Cmsdfldoi7ZBBtk0yvXeFfd4N20FPnc9tO0YXakGpGbs2FzBCAf7HH2+H2zaW+uN8eSl MzVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dFt+cuvDVhvBVqTLWGoedPkcFkamyQULj+E9pxwktXA=; b=pUxvaOeEjteMnjEo0vVf425f49Rc9bJJmHdrkNgPZrqvu8V6FmxbM60gc9O0D68no8 twMI9UZyVOWJMP8pjLzxvQR84KyCb5N5r5OmM9Y689Ns8PB80Pa41CmPWn/DFYdLqaZi OT1pc6GqaoDhu/qHeQ9wfVDrPVqbKjImTbE9wgePI06nOt18ZW4jXMmsm1XX+HCI/oeu zHkL7WK5nMqr+QO1i+zos1K69r3oJDF/oGi4w9pujwK0QaL2Pwfw1KiJWys+qBkLT4i1 DQPElvrvyfsYpSjef8sSu+6g768XgB2m1qacjfiysoDwXSSD/HGRwvmSzVhCY3sPBQ0b hP+w== X-Gm-Message-State: APjAAAXaPAEPPZPvNZfF7eMqrEqIo06/GAKxpep7n/NhEdMxwfmdwJAq NiXqCP31+kKg6SpVeClxxbr2w4UITGlMu7NkDck= X-Received: by 2002:a1c:7d08:: with SMTP id y8mr14574wmc.50.1562794527682; Wed, 10 Jul 2019 14:35:27 -0700 (PDT) MIME-Version: 1.0 References: <201907101537.x6AFboMR015946@aserv0122.oracle.com> <201907101542.x6AFgOO9012232@userv0121.oracle.com> <20190710181227.GA9925@oracle.com> <20190710143048.3923d1d9@lwn.net> In-Reply-To: <20190710143048.3923d1d9@lwn.net> From: Brendan Gregg Date: Wed, 10 Jul 2019 14:35:01 -0700 Message-ID: Subject: Re: [PATCH V2 1/1 (was 0/1 by accident)] tools/dtrace: initial implementation of DTrace To: Jonathan Corbet Cc: Daniel Borkmann , Kris Van Hees , netdev@vger.kernel.org, bpf@vger.kernel.org, dtrace-devel@oss.oracle.com, LKML , Steven Rostedt , Masami Hiramatsu , Arnaldo Carvalho de Melo , Alexei Starovoitov , Peter Zijlstra , Chris Mason , "David S. Miller" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 10, 2019 at 1: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/ From what I saw, the discussion was about kernel and user bits, where the user bit was a "little tool is currently hardcoded to process a single test case". I missed it first time around, but was going to make the case that such tests belong in tools/testing/selftests/bpf rather than tools/dtrace, since we have other similar test cases to ensure bits of BPF work. This patchset pivoted from a single test case to the entire DTrace front end. If this was Kris's intent all along, it wasn't clear to me (and maybe Alexei either) until now. > > Now he's being told the exact opposite. Not the best experience for > somebody who is trying to make the kernel better. > > There are still people interested in DTrace out there. Yes, they can: apt-get install bpftrace (or snap, yum, whatever) and start solving production problems today, like we are. > How would you > recommend that Kris proceed at this point? You may not be asking me, but I don't think it's best for Linux to split our tracing expertise among 13 different tracers (SystemTap, LTTng, ftrace, perf, dtrace4linux, OEL DTrace, ktap, sysdig, Intel PIN, bcc, shark, ply, and bpftrace). bpftrace is already far ahead and in use in production, and Kris is just starting building a new one. I actually think we need to consolidate our expertise on fewer tracers, which includes asking developers to jump the fence and work on other projects (like I did myself). But I also recognize's Kris's need to support legacy users, so I'll stop short of saying that it shouldn't exist at all. Brendan