Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2152925pxa; Mon, 3 Aug 2020 08:44:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytomRbVpWF7T6TmMFllm0eKB5/V5jcyn3pyFj0q3DjNfS3XrVndi83QAgLS+LQaalKqqaH X-Received: by 2002:a17:906:f8c3:: with SMTP id lh3mr17514639ejb.263.1596469492068; Mon, 03 Aug 2020 08:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596469492; cv=none; d=google.com; s=arc-20160816; b=XDfpmlGpR10l+FPbQSyo6HdYqB2hLLGtcVIwA1BLbyRsPclWUfp8Yw7cwx21t5svY8 mX6ZGUdgCjlPGcoRPOenGchIH22d2ogMAznCKmOqE/9uhq3zvsMFAxEeghbqvk47ynY0 GFeN6mzhT/8eSUOZ12hdAOIzqkR+LlEv2RdbVrLaajp6C29Hio9D3gUZJRM+fyH5LeHt +UFEpbb5cY4VQqMojEFpN6bMRjbgcUIU+ltDM46LPfugVJVMXUhYgbRCwenKft0x6lGj AAQdolU9Xsy9sNNDNebfxkxO4cr2f3XduTZBFHwrg2dioO0KL1nQOFS+ZfWmXZ3BfBTu WDHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SnvD0ufrD36AznQ4b9NY+YAqMLCruaCYki+qndIchpQ=; b=fCygcL4eroyvJg03lHc3iwlg0P+Ndq2gOimz35lvpcW7ONzJzpRrw28QRcgsb+M67o PFzZnCdwlOVnwmkZ/LcVjntvtdzIUF1Dy9FZ6574xeQApoKA21mSdNrj9eS41ZHbsoBz 7oW3HleBiSnHg74apg1Mm6hLDIpugp23w0OP5G4YcfrvOrQZgIQRlbvEidQkdLLIXoln 30zK9hBoBwsQPFvH4ItfeCDMy9XLtyGE2X9x8NUUMVUZX9+DnCmJErYpfyv/rcIhSG9M d2FX6SF/UdQg/g7wss/zSFhYijeKM5QcGg91GnHsXCuEAVF3eIixemv4V3tg6DZKQ7ix TNvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=rtfARZGf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p25si10787092ejc.560.2020.08.03.08.44.30; Mon, 03 Aug 2020 08:44:52 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=rtfARZGf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727803AbgHCPlj (ORCPT + 99 others); Mon, 3 Aug 2020 11:41:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726478AbgHCPlj (ORCPT ); Mon, 3 Aug 2020 11:41:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5934AC06174A; Mon, 3 Aug 2020 08:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=SnvD0ufrD36AznQ4b9NY+YAqMLCruaCYki+qndIchpQ=; b=rtfARZGfVzm85Mw0LPAVdMHYcI 8au74Pe9pnWPbe4ilvolD/X3pCAbm3FZNm/Ooq2L3E1dCUsDj3fWTY6kM9qBeIXzh/BpsoJ/KbqBu iOqW07bf8Eom8J/hr99iQ2fc8tA+ZNmMYYG9NoLz1Ks2nIWgjL7BMRVcEWN3VIAEM0KCuNMxQo20G yu8QmmQhhPJ2sd03rvaywP+ehPid/5brcexjUmluLab3IZ1jyVHjqGnBrhS9NQMk0yK/dMdlgEeCR kQR4ab7/IVu4ZZ8muUCcSyl1/0QaMPgP1JmvJvQmA6kdPzCrsRjFo25GiVsOE0KEQ3oKWQ0CKPXU/ K+Ta2iRQ==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2cab-0007Dl-Uy; Mon, 03 Aug 2020 15:41:26 +0000 Date: Mon, 3 Aug 2020 16:41:25 +0100 From: Matthew Wilcox To: Kalesh Singh Cc: Jonathan Corbet , Sumit Semwal , Alexander Viro , Steven Rostedt , Ingo Molnar , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-fsdevel@vger.kernel.org, Suren Baghdasaryan , Hridya Valsaraju , Ioannis Ilkos , John Stultz , kernel-team@android.com Subject: Re: [PATCH 2/2] dmabuf/tracing: Add dma-buf trace events Message-ID: <20200803154125.GA23808@casper.infradead.org> References: <20200803144719.3184138-1-kaleshsingh@google.com> <20200803144719.3184138-3-kaleshsingh@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200803144719.3184138-3-kaleshsingh@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 03, 2020 at 02:47:19PM +0000, Kalesh Singh wrote: > +static void dma_buf_fd_install(int fd, struct file *filp) > +{ > + trace_dma_buf_fd_ref_inc(current, filp); > +} You're adding a new file_operation in order to just add a new tracepoint? NACK.