Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6410950ybv; Wed, 12 Feb 2020 11:41:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwc7ERgo9CBqOOsuGkzsjzgbX8mVcvLButHOGEfoFQAeeQzSVasyYlSthlyqVQTq/W8h2/P X-Received: by 2002:a05:6808:618:: with SMTP id y24mr463978oih.86.1581536473618; Wed, 12 Feb 2020 11:41:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581536473; cv=none; d=google.com; s=arc-20160816; b=rySs1DnlHyAFer48wngeoPJtTaYgBPJiFo96ljtHgc57K36lgiM4k0RfgW0w5StIVg OWLDVDo6D9XuWOELGQ9z7U9PtKpQgmB/rmzuWGyQsTplFLUHvvm4kHVZ6mXnOOIo2eQy fJZHa2buBe7Ic/L316cUKn/PQUq0GXt7krDIKOjBOZ4+O48exPxlHBJbigtT7fhptO2U jGOan913hNUPt/xGkoPKsHtqydkUbFD4+fRGsAdXjtBaoDdPVwd4VKwFLl9aBm7ATy1p 0F92QHzTWcWnT4GSPx+bgGE4umH2VLFJzAlxLS7JH/OKpQZzoBGk6AqKi8k5em/7gsGQ s5FQ== 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=DqEPluF1YjWMHllKIvFCE3R/reccWsSyy085Om1UZM8=; b=R1Re6w++wADSkS+2V8YI/yph1JiLmJ+NGbTdoHr2vswzo/yrM+KFLhNp9j3DeMrrfq nivd7+21R70QnFzGJMLQHy90Nk+mXoKvfvh9eAFJHyTM6A01Bs1ZS0wkwG67PfsMcvnf 0O0JqQ2uQJcNnVYaCBCyIDjtZ+VJwwI8GMyA6c6JeYx+VoKad8P/5p4mOBbs93570FkW TaNw07WdBwRXTA1fM7s5/pWmMF/v5SOxQcCGEz0LmDbTjWVqxMkwRJYpzO83RsLwJqKl VT+wrMVK/NaRGDbLrjwOL9RN1R+9BxBL8Q3IbM7ykGaPNlcEhcvJNLAIA0jUvBf3NOz8 3WxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=T9cMirXc; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f81si28230oig.110.2020.02.12.11.41.00; Wed, 12 Feb 2020 11:41:13 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=T9cMirXc; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728098AbgBLTkc (ORCPT + 99 others); Wed, 12 Feb 2020 14:40:32 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:38397 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727361AbgBLTkc (ORCPT ); Wed, 12 Feb 2020 14:40:32 -0500 Received: by mail-lj1-f194.google.com with SMTP id w1so3732103ljh.5 for ; Wed, 12 Feb 2020 11:40:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DqEPluF1YjWMHllKIvFCE3R/reccWsSyy085Om1UZM8=; b=T9cMirXct8SOHRkNT8nUDSpJX8PptpdoGUyxFMSJMVKDNnhk0Q4yntq40cZnRq6zwg ZO9fhgWEfD/Yqo6UFGnxgg6At25kWkovMNafMQ8qUi+WOlA6cy77H4Xovl/VF7qXugK/ zOxYW3bRpefvV3Xg+Qj6kAeRC4QjlVfcKrudKVWx/8/T7LO+2NNe/oX/iyHfAoabzo9S xlJaI9zeP7EdWIrsm5ticTjUqt5nM0YI28q1ylXV95l1HtkionzsEUZySJLCF50iWQDl BLl/eoydSMhSuWx3GBNF4TDklolk+Q7waokZlZc7NV8dzRJZj17JVT528Zhcd0upUjzW 2M0w== 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=DqEPluF1YjWMHllKIvFCE3R/reccWsSyy085Om1UZM8=; b=IQbDp0E1ijV0i6/lmTBsnqFbQGTHdMjiJKQbAl6MM/doVpcxbkjMPW88ZiCnc7lCj6 LOWAxAh6t5/EkEzW9gdv3q3I2ZBHjXBPznp4UDR4On9JhKSb0GBVIhENBGYvyCzmL/WK GjRUyyOFTKXpqLW/9gR9sV6CQiqh1JLmiilRZxKA7gJAQflH0JsJIkQMLj1gG/5deL9K m5CVuZQcwTNCGm8a0bFYkKLrldrkygcMBAzNAC6h/y3PshccK9K6aWwr/i5T91Cb9aEO Uup7IX7stIZvxvsubYF8nCVNbVoIyQ1LoeCn3T1iYB4wWKDnyYzTTAq/BshaugC1PVbO ioEA== X-Gm-Message-State: APjAAAXnDFXR7HHTEvjalmm1ORBlDt6Wtj95zs/v012vU0exeAaYBI2Z 8V1n6S2GBqJuC4xOeIzWg7K2hKDg8Iurz92HqUfM X-Received: by 2002:a2e:b0e3:: with SMTP id h3mr8402668ljl.56.1581536429803; Wed, 12 Feb 2020 11:40:29 -0800 (PST) MIME-Version: 1.0 References: <20200211011631.7619-1-zzyiwei@google.com> <20200210211951.1633c7d0@rorschach.local.home> <20200210221521.59928416@rorschach.local.home> <20200212143751.0114fe78@gandalf.local.home> In-Reply-To: <20200212143751.0114fe78@gandalf.local.home> From: Yiwei Zhang Date: Wed, 12 Feb 2020 11:40:18 -0800 Message-ID: Subject: Re: [PATCH] Add gpu memory tracepoints To: Steven Rostedt Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, Prahlad Kilambi , Joel Fernandes , android-kernel 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 Thanks for the info! I'll update the patch accordingly. Best regards, Yiwei On Wed, Feb 12, 2020 at 11:37 AM Steven Rostedt wrote: > > 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