Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1886045pxj; Fri, 18 Jun 2021 19:18:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5V9V2sJeO4PWsWsQ6TEbY8D0wxbwxTICoE2Ql9T+105rmRfB+KmvtxJi0cO5W8TIvjZyZ X-Received: by 2002:a05:6602:3306:: with SMTP id b6mr10494509ioz.10.1624069087080; Fri, 18 Jun 2021 19:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624069087; cv=none; d=google.com; s=arc-20160816; b=NCxQO172p/3KOV3uWFfGh6ZQdLQAM5JTPay04YBamu3XRq9AO9FM+nwBZhJbYwBm36 e2B0dJIy8JRemsIohEw1F1F3kPCZN4jz+QZnqUpsGfTt6bbAQ/KQncK5/tBbQ7+GTUTe I1VFv5qwMoZPtc9RvWk0p6KAv2QeBc8DvHc3VqF48kG+Z3CNXSjQjWA4XNG85pnNA9RY NWnNJAF5iHHKRM4+6NCPklI01DLmjLZsAWp/QvIlGrwEZeKH1bkA5cv0lQgCUZ07r0te IdjA46dAdkvjcB04A5KXQXcV5CUtuBpJsPnoabwZTVWKPEUKdTehXbNG+vFjiRCs8WEN VQPA== 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=G8leG7CSIwxZX1wQ8ZRcUG7qOB1NZTpIxiz7prlNKC4=; b=xRbltFbGO6wZScUQgM31sHqcB3bH0Grta3QVOay/JX/lVbDZKpoXEC6lEUY/lO+X16 Qf8TlG36SQlY/657n6T9VEJHsF++FMSLm8rwEEM6ozBPZh6drH2ow3npX4pQryh2wmBb UsJNhLxlvHkT53mSiuJGk6PdTmglgOOuSeK9/UdmxtARn49ycTtH5CRn4sLMHvNx8I88 duzJ4AwFXyzqE5LtfkGC31Bq9VAXteOORnKYCOH5eqmYdqq6Lw8nt8BhmEadJw1GlT6I 68lC1pgCpaSq6eWuoV6bLhroPFBIoBnu+9rmQMiYkzZEH3nBaHo6zFAIIMgPYWicg5sZ 7Smg== 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 x15si4562786ilu.105.2021.06.18.19.17.55; Fri, 18 Jun 2021 19:18:07 -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 S236398AbhFRS3o (ORCPT + 99 others); Fri, 18 Jun 2021 14:29:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:51190 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236427AbhFRS3Q (ORCPT ); Fri, 18 Jun 2021 14:29:16 -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 55065613C2; Fri, 18 Jun 2021 18:27:04 +0000 (UTC) Date: Fri, 18 Jun 2021 14:27:02 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: Phil Auld , Sebastian Andrzej Siewior , Kate Carcia , Jonathan Corbet , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexandre Chartre , Clark Willaims , John Kacur , Juri Lelli , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 10/12] trace: Add osnoise tracer Message-ID: <20210618142702.7c75f0c9@oasis.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; 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 Tue, 15 Jun 2021 11:28:49 +0200 Daniel Bristot de Oliveira wrote: > diff --git a/kernel/trace/trace_osnoise.h b/kernel/trace/trace_osnoise.h > new file mode 100644 > index 000000000000..34c7b80f9e12 > --- /dev/null > +++ b/kernel/trace/trace_osnoise.h > @@ -0,0 +1,9 @@ > +int __weak osnoise_arch_register(void) > +{ > + return 0; > +} > + > +void __weak osnoise_arch_unregister(void) > +{ > + return; > +} No reason to put the above in a header file. In fact, as it is code, it should not be in a header file. Keep it in the trace_osnoise.c. -- Steve