Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp262439pxx; Thu, 29 Oct 2020 01:53:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkLxSL+8sJImWWz3q3G6bX8Zkz42oQxJSsDOWzaHb/Vcv/rnx0llIkW1vmXNlRD6LrJksu X-Received: by 2002:aa7:ce04:: with SMTP id d4mr2817085edv.18.1603961581803; Thu, 29 Oct 2020 01:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603961581; cv=none; d=google.com; s=arc-20160816; b=Atedf50YINRFAHFEd7zGn3X2NL1b2Xf6hHQ+9b/tQHx3Eggy9tfAMkbFmYD6e92YBZ wIbGdBL5hAJgkdEDnnVRRGenOY/qNrLn3GefcdLVetGsb3HUtehVlNnmiA+znpuSPOBT Z87hqF9RBzHy2K7vDswDknK4sX5rmJ1FBYYEuZz4nEwKBgWq5/oP5keuQwx2V6wrQpgS 3gHWDGUvpKAsYOPzuPmOD3NErWIScKQuWfU3DFXtNrWXRv5lo8e3+9X/frsJy1p0YZeo SdhfummEPpd9fVwvn6XzRtdtJQ1nZE+Z6/WWgOq3MZD1lPsx/q98Pv7BNWl6R9VwKMff ofXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WOglb+5/oUcsY9qJS68CxJjACCv0j/eXzWw2njuLar0=; b=PFmDieNQUna69J8CrSE0E2X9Hv5cItS0RPXDLBSRp894SAHQi1fXpUAl80LKWkomOi CrB/y14gK78Lzigzp6+g6r3cArPt9kw7cY2gGZel0Bth+HVu4zcoRL3dF/jib6UdIfVc 4UNldgdv8638EesAoEGUVt/IPiNQvFZNTw1jDu3KgvS2B3cWM4xFwGKeZp1lB6XW/4XU ULGqsy3wOy/juCRTT/WqvJeCfqGLTUYrZS04U38ZTY+ll8q7pu8HpOxxZbcrJUsbJ2vO PyYOThgNbuIXITSIBbjl1TE6RxLCL1FJ9r9ngshZXsMZAM6mA1vKBeFzcdfEuaYmIkau 21ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l7oGWJwq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h90si1511905edd.326.2020.10.29.01.52.39; Thu, 29 Oct 2020 01:53:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l7oGWJwq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730009AbgJ2CLZ (ORCPT + 99 others); Wed, 28 Oct 2020 22:11:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:35434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbgJ1VhX (ORCPT ); Wed, 28 Oct 2020 17:37:23 -0400 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2E4F9247FA; Wed, 28 Oct 2020 18:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603908114; bh=kiVbbIoq2NdlzdJ/a20eGyFOEh2S7Tm7JiSgSH7L1gs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=l7oGWJwqBvK8Rg4cu7Y18e3LMzQH14enibKpL4bF5FU9phHHNDzO6IqifKx9gDuyU +QOI9cMNrtaIEKc0iVIXsznlb2ho17nUvDhSpciib7ryuCq0uApBJ/tFW2HRlDamgb yOlAmE1Dv53mFSCQu/wGHaE8mkik3eSKxCsefF8c= Received: by mail-qk1-f174.google.com with SMTP id x20so5406931qkn.1; Wed, 28 Oct 2020 11:01:54 -0700 (PDT) X-Gm-Message-State: AOAM532PCEE/M94xfOgBWSINTmaMTcwMQyvtcNxwEPQCri1OGxUe4Lir mIX7uQjWkgIKcDaYypOxkxn0kot10uRwbJ7SnNA= X-Received: by 2002:a05:620a:b13:: with SMTP id t19mr35387qkg.3.1603908113213; Wed, 28 Oct 2020 11:01:53 -0700 (PDT) MIME-Version: 1.0 References: <51a9a594a38ae6e0982e78976cf046fb55b63a8e.1603191669.git.viresh.kumar@linaro.org> <20201027085152.GB10053@infradead.org> In-Reply-To: From: Arnd Bergmann Date: Wed, 28 Oct 2020 19:01:37 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dcookies: Make dcookies depend on CONFIG_OPROFILE To: William Cohen Cc: Linus Torvalds , Christoph Hellwig , Viresh Kumar , Alexander Viro , Vincent Guittot , Anmar Oueja , Arnd Bergmann , linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2020 at 5:34 PM William Cohen wrote: > > On 10/27/20 12:54 PM, Linus Torvalds wrote: > > On Tue, Oct 27, 2020 at 1:52 AM Christoph Hellwig wrote: > >> > >> Is it time to deprecate and eventually remove oprofile while we're at > >> it? > > > > I think it's well past time. > > > > I think the user-space "oprofile" program doesn't actually use the > > legacy kernel code any more, and hasn't for a long time. > > > > But I might be wrong. Adding William Cohen to the cc, since he seems > > to still maintain it to make sure it builds etc. > > Yes, current OProfile code uses the existing linux perf infrastructure and > doesn't use the old oprofile kernel code. I have thought about removing > that old oprofile driver code from kernel, but have not submitted patches > for it. I would be fine with eliminating that code from the kernel. I notice that arch/ia64/ supports oprofile but not perf. I suppose this just means that ia64 people no longer care enough about profiling to add perf support, but it wouldn't stop us from dropping it, right? There is also a stub implementation of oprofile for microblaze and no perf code, not sure if it would make any difference for them. Everything else that has oprofile kernel code also supports perf. Arnd