Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6549595rwb; Tue, 22 Nov 2022 15:13:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf4U2HeUjpljPwZR5ueEPJ8I+ONJbzt0T6kX5RMgc4LkzgRxM4q4sEZePWRkghgxv3efeWuH X-Received: by 2002:a17:906:3c5a:b0:79e:4f34:a8e1 with SMTP id i26-20020a1709063c5a00b0079e4f34a8e1mr6897420ejg.194.1669158833463; Tue, 22 Nov 2022 15:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669158833; cv=none; d=google.com; s=arc-20160816; b=vyznw1d3nt1ZuuAuPEuiQe17NramYLUgyGO3H2V7SKfwqwJC03Oh0Ybn3h248YGm5F wNSf/yyI+RNQsDapR0SzVq+HvAd+GjWR6fWmQT0B6fP0Na8S0/NozkO8rMftfUlZO6VS stmxbS0b1ShRJdnjr3S516YyBLcLsRUM/w3wXFE9B7kJbzJPa4wWicyMFezDqGLi5ny9 c/EMIRcXySplqeS6ZWvqlRsd/+Un2yDfdCI9TgL5+8PMWQpS2C363vuM6Kd6xsWimXTW bnAOjZi0WjmlGVHpy4NPdgv2z3SxnKDqqnqsnpc5U3FBPDosOGxlYV3JsrHvht1asmgb KF9A== 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=atZmdYbGwlh25TvLGiKABp7BM0LYvpW9hP78L4vbsF0=; b=yaM6qi43Quxyh7OH82TwmqrWoAxjbDfe65bFzNkC+CUS+7jWaZFXzClzcVUl4shvkO 4rV0nTN9cz3VEQStYU+iQ30DC8sJ71bM6gCgZuf6Tx9wYoZ8KpFTU/X9S+5+mnRS7w4Q 5ZjnzPGt9+G+msh0KBC+Ohv3aaokbICXikNrqPoLOhwLHfp5QxgY4qCupUaIRgYol9Zj zC4WiiZujtI2SWsu0K9qmiw4T9N7q+wfJtDScy4FcH8LWOAe/ZrHmflTQD0zjAY95W3V wcAJXuxckpW3q2eDcj50JEKH1wxEtcgGr+2TMFUk7/5YRtCkPYJF9D0X/W0VVE57PqiN OPdQ== ARC-Authentication-Results: i=1; mx.google.com; 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 sb32-20020a1709076da000b007b5ce4a4368si7434581ejc.311.2022.11.22.15.13.31; Tue, 22 Nov 2022 15:13:53 -0800 (PST) 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; 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 S234546AbiKVWgW (ORCPT + 89 others); Tue, 22 Nov 2022 17:36:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234134AbiKVWgU (ORCPT ); Tue, 22 Nov 2022 17:36:20 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE571C67E1; Tue, 22 Nov 2022 14:36:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 74290B81DC6; Tue, 22 Nov 2022 22:36:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20A89C433D6; Tue, 22 Nov 2022 22:36:16 +0000 (UTC) Date: Tue, 22 Nov 2022 17:36:14 -0500 From: Steven Rostedt To: ira.weiny@intel.com Cc: Dan Williams , Alison Schofield , Vishal Verma , Ben Widawsky , Jonathan Cameron , Davidlohr Bueso , linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org Subject: Re: [PATCH 07/11] cxl/mem: Trace Memory Module Event Record Message-ID: <20221122173614.3f5c10e7@gandalf.local.home> In-Reply-To: <20221110185758.879472-8-ira.weiny@intel.com> References: <20221110185758.879472-1-ira.weiny@intel.com> <20221110185758.879472-8-ira.weiny@intel.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 Thu, 10 Nov 2022 10:57:54 -0800 ira.weiny@intel.com wrote: > static bool cxl_event_tracing_enabled(void) > { > return trace_cxl_generic_event_enabled() || > trace_cxl_general_media_enabled() || > - trace_cxl_dram_enabled(); > + trace_cxl_dram_enabled() || > + trace_cxl_memory_module_enabled(); > } > My only concern with this patch set is that gcc may decide to not inline this function and you will lose the performance of the static branches provided by the trace_cxl_*enabled() functions. Other than that, for patches 5-7 from a tracing perspective: Reviewed-by: Steven Rostedt (Google) -- Steve