Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4833066imw; Tue, 19 Jul 2022 14:18:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sgJbHByHnzs5M9sZ3FCzyb3UKzHh/8QRncl3k5wJaurhTBca++vJjeOfip7gZBracF3b1T X-Received: by 2002:a05:6402:248d:b0:437:dd4c:e70e with SMTP id q13-20020a056402248d00b00437dd4ce70emr45828337eda.75.1658265490323; Tue, 19 Jul 2022 14:18:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658265490; cv=none; d=google.com; s=arc-20160816; b=x7cDmOwMi/Za/SAD8GRSRo20hNNDLkwXgpo4xpRnYrKr9MMNwQfzJ7KWjJYts2JEI1 Ij47i3ee8MZQnbLMEXlsCQR7LdbVjwaeB18lBcm20Rk1MB1NPjTjvztfL/8e9mFY2TA2 4XqDlaLDr8O05SPrx49e/bfl8c9yhJsJ1MQM6dzbpBpuXKl0WOWLxl5Bi+XpgEva9+sA a8WS6Iqab12rV6SS6Typu4GKZ9vwxJjydR+xFTEUbDjzbzUjtubZivaP19eI6Qk7sQJM yYCr2MXR1Puyw8kynlwh2IOhxY3izeSJYIaq5Zjq13doBCzpem3wH6EfBhBxrFG4Kh4B ld2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=R5Au+5U/0PLhoUTkyt9QA4es8I+MEovmCKFKZno3xlw=; b=wtkLdWfcp1s2IeDehA6eh8W/MHMBVjoYpT2Df6COAYLOw3PTa9PNR211ADCJQAo0P0 Y5LgMh8/uUQ3vRW86S8UV4qKIck34i7yegW8R/1wrijfzqzaXIBrxpp+NZiv1SpRRcB5 9hrNahB5HNj4wXofF2k2NgXLJsb+Zm69iOP8wtxb//W+S6NNHzLGjaTlkhcUYivfbdeK gG2C6wUwBrjbJZjJzL0PV/B4NN+BFX8Ksa/4GNqx7qH+4A+Y0ALa/LbmQSI/Yi3Jhm8D VpQ6TXh+x7Z1elTMR9ISmdLVwzvCdstSOUdnZgFzuWup+VEc7dLCe4EycNMffqdlu1bq Fzrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=FX69N5uK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020aa7c308000000b0043bb7c40d71si312413edq.632.2022.07.19.14.17.45; Tue, 19 Jul 2022 14:18:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=FX69N5uK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236065AbiGSVBx (ORCPT + 99 others); Tue, 19 Jul 2022 17:01:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbiGSVBv (ORCPT ); Tue, 19 Jul 2022 17:01:51 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 722BE42AC4; Tue, 19 Jul 2022 14:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=R5Au+5U/0PLhoUTkyt9QA4es8I+MEovmCKFKZno3xlw=; b=FX69N5uKCeIMKuHjP1gW9zQcx+ cZ+RBGNWHCiZ1K9Yvamb599ZzzU0UKt/NjOwLP/J0QAvsrgHUmFEtnwxwuZnC0T404AcJl/z/lLFA Cu0/wNp+5JLPzsw2YiZzwqKr5Fut3jJYDe8l5CiVdpHW4BW2pdYH2gdRQR96NS5jodJAVgnx17oGX +jdnJrGAWA1um3adlNKSIlABEXA8qikH0tBAEZDOh9oVfBSeQbv7929xyi3jwHKUEc8doKv4gLm8G MLNOFO4hCK5CqOOfgMHGG4su+x/q2GeE6TP6tz55u50QhZUUVxA/u6Hmq44eRBgsp5tli7U+kYcvJ Uk0asL7w==; Received: from 200-100-212-117.dial-up.telesp.net.br ([200.100.212.117] helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1oDuLT-006k9d-IH; Tue, 19 Jul 2022 23:01:32 +0200 Message-ID: <8ef53978-f26e-89e3-8b04-6f0eb183f200@igalia.com> Date: Tue, 19 Jul 2022 18:00:39 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v2 09/13] notifier: Show function names on notifier routines if DEBUG_NOTIFIERS is set Content-Language: en-US To: Arjan van de Ven , akpm@linux-foundation.org, bhe@redhat.com, pmladek@suse.com, kexec@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, x86@kernel.org, kernel-dev@igalia.com, kernel@gpiccoli.net, halves@canonical.com, fabiomirmar@gmail.com, alejandro.j.jimenez@oracle.com, andriy.shevchenko@linux.intel.com, arnd@arndb.de, bp@alien8.de, corbet@lwn.net, d.hatayama@jp.fujitsu.com, dave.hansen@linux.intel.com, dyoung@redhat.com, feng.tang@intel.com, gregkh@linuxfoundation.org, mikelley@microsoft.com, hidehiro.kawai.ez@hitachi.com, jgross@suse.com, john.ogness@linutronix.de, keescook@chromium.org, luto@kernel.org, mhiramat@kernel.org, mingo@redhat.com, paulmck@kernel.org, peterz@infradead.org, rostedt@goodmis.org, senozhatsky@chromium.org, stern@rowland.harvard.edu, tglx@linutronix.de, vgoyal@redhat.com, vkuznets@redhat.com, will@kernel.org, Cong Wang , Sebastian Andrzej Siewior , Valentin Schneider , Xiaoming Ni References: <20220719195325.402745-1-gpiccoli@igalia.com> <20220719195325.402745-10-gpiccoli@igalia.com> <8e201d99-78a8-d68c-6d33-676a1ba5a6ee@igalia.com> From: "Guilherme G. Piccoli" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/07/2022 17:48, Arjan van de Ven wrote: > [...] > I would totally support an approach where instead of pr_info, there's a tracepoint > for these events (and that shouldnt' need to be conditional on a config option) > > that's not what the patch does though. This is a good idea Arjan! We could use trace events or pr_debug() - which one do you prefer? With that, we could maybe remove this Kconfig option, having it always enabled, what do you think ?