Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9598978ybi; Wed, 10 Jul 2019 13:13:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0vtPFTgoLYliWC9+kBMqjo3YxPQw/z2ATT50gVqgJNo40vL6strYZJazcVhLssiJZ5ydp X-Received: by 2002:a63:dc50:: with SMTP id f16mr26169pgj.447.1562789638774; Wed, 10 Jul 2019 13:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562789638; cv=none; d=google.com; s=arc-20160816; b=ZFkoJa8CU5fCeLrsi0i9UuCIxBQgheAQGkyb2vdSH2tZYZtLizy5bVUJl0UVL1hAIJ cO4dCgEVvfl1VToQqV8FUP1jZZ3dRsQTlZFgDwqqrfSYuUK/vAfj5Bw2ks/8sPsSudik Npu3ipa8KputdLuwEjcBfZRty/Nqw+qitZkVamHEl03FErEi1oGbct+TqsvlYZvhfGE+ XSxO4tavoRF802tPfAHOVlURVEzhGRS/kggqu8nG+X5DT3AE/zaq58L/1ZbTXGK7fMEL 0jP7Ak/zzrS1N+4Q1+mPzrm+9QwSRlEluNGn/Kzf3+0xuecc7X+Hq3/JYoV1MIqcLy5e pEcQ== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=f0YJG1Y6pF2F0Di8u9oPgBup4UKsTXVPuiZPTML4p5c=; b=dwOJsG3+MQG2+ddjLoKlODpnjL0jSxg/CKCkd0hLNMioFo7jj4PChScebN2iGL1lnw 7IS1fN++39t2+beMRd0XfYznXQEPnz6JZhiXha2EpbUzTjjXO9zLjsNTJ+s6jZxO2lFv Imk5dY6QuX/MhMdgaThKinWI9RZwLK/yh4lnZk1rJ4BNl7G8GTZZliKxNA3XIyp6DOYJ 6KsdIX/7LclcmRcQ9e3j3Yu5Mfgu7Em95I7nYR0Gc4Sr+WGD6Sc1cChw6a0fjY7FPV5z Yq+vL5qjv9XgfR2e9+NEswZkSiHjL4K90TEb622fstWLkC8JeLZWuEjwo0YjIOKXUQJJ d5rg== 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 3si2828252plp.31.2019.07.10.13.13.42; Wed, 10 Jul 2019 13:13:58 -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 S1728000AbfGJTr4 (ORCPT + 99 others); Wed, 10 Jul 2019 15:47:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:35468 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfGJTr4 (ORCPT ); Wed, 10 Jul 2019 15:47:56 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5922E2086D; Wed, 10 Jul 2019 19:47:54 +0000 (UTC) Date: Wed, 10 Jul 2019 15:47:52 -0400 From: Steven Rostedt To: Daniel Borkmann Cc: Kris Van Hees , netdev@vger.kernel.org, bpf@vger.kernel.org, dtrace-devel@oss.oracle.com, linux-kernel@vger.kernel.org, mhiramat@kernel.org, acme@kernel.org, ast@kernel.org, Peter Zijlstra , Chris Mason , brendan.d.gregg@gmail.com, davem@davemloft.net Subject: Re: [PATCH V2 1/1 (was 0/1 by accident)] tools/dtrace: initial implementation of DTrace Message-ID: <20190710154752.76e36e8a@gandalf.local.home> In-Reply-To: References: <201907101537.x6AFboMR015946@aserv0122.oracle.com> <201907101542.x6AFgOO9012232@userv0121.oracle.com> <20190710181227.GA9925@oracle.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Given all the other tracers manage to live outside the kernel tree just > fine, so can dtrace as well; it's _not_ special in this regard in any way. It > will be tons of code in long term which is better off in its separate project, > and if we add tools/dtrace/, other projects will come as well asking for kernel > tree inclusion 'because tools/dtrace' is now there, too. While it totally makes > sense to extend the missing kernel bits where needed, it doesn't make sense to > have another big tracing project similar to perf in the tree. Therefore, I'm > not applying this patch, sorry. I agree with this. Note, trace-cmd is very tied to ftrace just as much as perf is to the code in tree. There was a window in time I had a choice to add it to tools/ as well, but after careful consideration, I decided it's best against it. The only thing being in tree gives you is marketing. Otherwise, it makes it too coupled. I keep having to compile perf separately, because a lot of perf distro packages appear to think that it requires the same kernel version. It also makes it easier to have your own release cycles, otherwise it forces you to be on a 2 1/2 month cycle that the kernel is on. And it forces you to have a clear separation between kernel and user space. That said, I'm working to put together libraries that interact with all the current tracers (perf, trace-cmd, lttng, bpftrace, etc) and call it the "Unified Tracing Platform". The purpose is to allow any tool to be able to take advantage of any of the supported tracers within the running kernel. This will be one of the topics at the Tracing MC at Linux Plumbers in September. I hope to see all of you there ;-) -- Steve