Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6409659ybv; Wed, 12 Feb 2020 11:39:35 -0800 (PST) X-Google-Smtp-Source: APXvYqy+RssAlglfyI6DgNntCnugxLi5rWEwEmbJkKFsn3PnjSVeI2lg0QVCDWYcqK4Tc8QzWXLD X-Received: by 2002:a9d:7607:: with SMTP id k7mr10406576otl.205.1581536375810; Wed, 12 Feb 2020 11:39:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581536375; cv=none; d=google.com; s=arc-20160816; b=t3J3SkJYLiNHOuSe3BGS5e6p50+g4+X2bxGoyYSCWzJeCfYAF3zaNTFe3fR7aT6PLZ g2ejWApDEGz5KUGjYLvorPcao7treL3urKqWovgfCqS4bfaebAyNUiNFtjfcXOf2Xo0I zB/d969RNp+D0OG/7X2Ez3gCOW3a5i1acnotksSaOTw9JdZrxTm8wqBuS35/qfUhOnV+ yomEJSzsORU0JxHMmWWdizff3wEW+fRmj4o9uN2UsFu2T3FQH2FgaM9dytyLQO4JD1JU h8BvxpUoFUnU9E5caP738TFzK51p6ajWkbx4eRT4lPC6k9W2Rm3IWLaeLyXmKRjCe3he Y6pg== 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=6ctC3xM1L5ePiFeNQ/MKM0Pcog2pIgX20bKYX4ZtpVE=; b=X0xDLOnRpGDtnffOhHngtEwkuLYNzpE+IykS8u/hp+wuaqWhBv1U4sVDBBl8rnlceg ou9iyl2r4aDgXzXjTtd682pC0ngnyKqUQLfHuy2r/onrnpJGMDMU5N3JdqXugnDubily C9paBbpBW/vEuw1kp8i3FazFJaADBxsKJAvzrnuPH6i9Ew4USVVwebVpy9qtaH63qPS0 7bvwkjS5NT3aBdA3Ry1Vn4KZwQGQpAk9JE1hskB2dhX1M4QKMehM5sKGdDwtszxPCoIS L6aKcHNiu9lFXDqoAkqbD0kzpyI0/iLNwqDHCNYJIXHNH7W3gmvyfgwUPCcR206jDCXF VnfA== 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 j2si658825otr.255.2020.02.12.11.39.23; Wed, 12 Feb 2020 11:39:35 -0800 (PST) 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 S1728226AbgBLThy (ORCPT + 99 others); Wed, 12 Feb 2020 14:37:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:54374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727361AbgBLThx (ORCPT ); Wed, 12 Feb 2020 14:37:53 -0500 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 CE251206D7; Wed, 12 Feb 2020 19:37:52 +0000 (UTC) Date: Wed, 12 Feb 2020 14:37:51 -0500 From: Steven Rostedt To: Yiwei Zhang Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, Prahlad Kilambi , Joel Fernandes , android-kernel Subject: Re: [PATCH] Add gpu memory tracepoints Message-ID: <20200212143751.0114fe78@gandalf.local.home> In-Reply-To: References: <20200211011631.7619-1-zzyiwei@google.com> <20200210211951.1633c7d0@rorschach.local.home> <20200210221521.59928416@rorschach.local.home> 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, 12 Feb 2020 11:26:08 -0800 Yiwei Zhang wrote: > Hi Steven, > > I can move the stuff out from the kernel/trace. Then can we still > leave include/trace/events/gpu_mem.h where it is right now? Or do we > have to move that out as well? Because we would need a non-drm common > header place for the tracepoint so that downstream drivers can find > the tracepoint definition. > You can leave the header there. The include/trace/events/ is the place to put trace event headers for common code. It just did not belong in kernel/trace/ Thanks! -- Steve