Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1435778pxk; Fri, 25 Sep 2020 15:03:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO069xwBG7E/yWTZikh9JU/mMT+ajSy7gHkC2pIlozZsP3L0B+Ctbr6ED9rOwly3Do4+9z X-Received: by 2002:a17:906:454e:: with SMTP id s14mr4997631ejq.137.1601071407390; Fri, 25 Sep 2020 15:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601071407; cv=none; d=google.com; s=arc-20160816; b=pIXqJhP7jByJcgSoB8XwULiOkNDJrqHkws00lmE3KaCfh8+d9UDrVdSPePhMTCOXkR lUwH/nI3PiJyXC9H7M53g+n5yjJ5SZuTPLecbFGR8Z4/evbYUIJ+KD2vDkpE9fVuHHaU PFKsikQ4IKuMwGLgCgNkz/wXNcX5zuFUGq1iLM20IpGznyHDaiVFUo7aqrAuARQH+M0c SpRDOtvdxcC51H/lI/1MUDNQJDkgQsl2/5eqkijgt1mQt06QmLUeAJb12n7mm71De+zD 9t2mS0HDxF8R1vyRlDvjdtYtE9pa37DMDaeoPnFzX6+IFlo9TJQCRbosOc2ZcUtG4jve 8K6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=4hlDFr2Ve0WEQebWCht+twe5w8AZShoZ8PYJBHbMFYU=; b=gEvb28DsQDkTKO2ozDVH+nq2VK9AG6BU+5dV5Pa+54eR8vmffiK0JtPaJzQX9n0AFg soDw4mnWNlktqtmJbm+DM0IPrIMMpA6riJEnPS9zdVfap1Ni8q7UlW2RUoAa19TEmJxH qDp4vAp5k3zVp3A9hrdZlP900xtO+zVJMELxWDZKyJt0OJwd4J4Tix1ikr8ygj6NOrXI 1f0KwXlR+9k8j898PU431vTSRtvGmGVby5a3XA9Ojci1fwN5UU2vLbPM17dBRBc+TSpz 3TWILX4f4rNSIGQNkqJZB/MtjmJ+AzG2gA7n8hbpBC89F3S53RiW4naVxtaGtNvySebT V48g== ARC-Authentication-Results: i=1; mx.google.com; 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 u22si2668514edy.599.2020.09.25.15.03.04; Fri, 25 Sep 2020 15:03:27 -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; 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 S1727520AbgIYV7h (ORCPT + 99 others); Fri, 25 Sep 2020 17:59:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:45662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbgIYV7g (ORCPT ); Fri, 25 Sep 2020 17:59:36 -0400 Received: from oasis.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 47F462068D; Fri, 25 Sep 2020 21:59:35 +0000 (UTC) Date: Fri, 25 Sep 2020 17:59:33 -0400 From: Steven Rostedt To: Axel Rasmussen Cc: LKML , Yafang Shao , Andrew Morton , Vlastimil Babka , Michel Lespinasse , Daniel Jordan , Davidlohr Bueso , Linux MM , Ingo Molnar , Joonsoo Kim Subject: Re: [PATCH 1/3 v2] tracepoints: Add helper to test if tracepoint is enabled in a header Message-ID: <20200925175933.2b7fa5f5@oasis.local.home> In-Reply-To: References: <20200925211206.423598568@goodmis.org> <20200925211819.767526657@goodmis.org> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Sep 2020 14:36:37 -0700 Axel Rasmussen wrote: > > +In a C file:: > > + > > + void do_trace_foo_bar_wrapper(args) > > + { > > + trace_foo_bar(args); > > + } > > + > > +In the header file:: > > + > > + DECLEARE_TRACEPOINT(foo_bar); > > Should be "DECLARE_..." But that's the British spelling! OK, I'll go ahead and fix that in v3. -- Steve