Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4883425pxj; Wed, 9 Jun 2021 04:24:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytqir1cVg8a1BTLaMYgQtggUyLky/vjRbs2J3YEA0BVuhrat0OZM5c4k+lixx/8RT1OEfU X-Received: by 2002:a05:6402:1b09:: with SMTP id by9mr29485347edb.201.1623237859318; Wed, 09 Jun 2021 04:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623237859; cv=none; d=google.com; s=arc-20160816; b=mFqP58O9tZrdzyMImf4VzxkvQCFRGvxS0DrOhXbqznE6QYp6R/1fQqGjtjeeH8pzaZ u35kWAjjkcPLLKQfU66jhS2itldtllavBfjEvVc1kmMHfcxsCQoGzZqCrNDG1cjusSm/ HJxX+Lp+oZXlFC4VaP3fb/3LoizufVZ1+RbDtDlg9ygBDvbPUgeR2wcHfSgZlGNUMEym 7Y99S7sPku8RdElE5dnsz/lGckBG6T49QUk4X/TG2KLuSzCPRaH1YlGPZP1/3bRMTl6M CwsZe23t8hxPUVEs3t9Og3WcdNOOGlIWtEkMbnfvJx2JIO1aruT3ifbYlewhdA2x9Kng RSow== 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=/VUZSLOReHmN2dNpoLlTsp8xnaDLD8ory5W65CVjFJI=; b=WDsyAYpVRidKkxP0Cd1CFYH+ep/cKruMAN1Ow1mzWmMX719VjzPO6OW5hbqIsWUkXQ VuIb8LLRfQtMT1r9huoCKXwOeKAmLWgezrOxVoZ0qD2547pX5M76e+cv0cWBmeCTwfoO RgV4f7KNcttWq52yIKvQFx9cPQznpamYEwq+VV7MqKlutFSgXaEvLFqNCJuf4IC1c6ST SCUDguHtyowJM97B5sLz3uDsc3IGVv1VdMpPhd8clYxAhqSjaWVyXI6ZSbzlBVqZruOp bgNr1v+HLAgkShNMl9A2Lz9B6SdFrBp630CglYiJrGHp6XPASo7UWzPBOTSwPYR97HQh QsZg== 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 y9si1982751eds.105.2021.06.09.04.23.56; Wed, 09 Jun 2021 04:24:19 -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 S234025AbhFHTpD (ORCPT + 99 others); Tue, 8 Jun 2021 15:45:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:49522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238414AbhFHTod (ORCPT ); Tue, 8 Jun 2021 15:44:33 -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 1CE70611BD; Tue, 8 Jun 2021 19:42:39 +0000 (UTC) Date: Tue, 8 Jun 2021 15:42:37 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: linux-kernel@vger.kernel.org, Phil Auld , Sebastian Andrzej Siewior , Kate Carcia , Jonathan Corbet , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexandre Chartre , Clark Willaims , John Kacur , Juri Lelli , linux-doc@vger.kernel.org Subject: Re: [PATCH V3 8/9] tracing: Add osnoise tracer Message-ID: <20210608154237.4e78eca5@oasis.local.home> In-Reply-To: <0db868d6-2f16-d59e-0eb2-5c55709b4741@redhat.com> References: <20210604172803.527aa070@oasis.local.home> <20210608133946.52eb7859@oasis.local.home> <0db868d6-2f16-d59e-0eb2-5c55709b4741@redhat.com> 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, 8 Jun 2021 21:33:31 +0200 Daniel Bristot de Oliveira wrote: > cool! I created a function osnoise_taint(char *msg) that prints the msg using > trace_array_printk_buf. I am using it instead of all pr_warn that could take > place inside osnoise regular operation. Make it a macro, so that _THIS_IP_ is meaningful. > > I am still placing the note in the header, just in case we miss the message in > the log. +1 -- Steve