Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2600776rwb; Thu, 17 Nov 2022 13:12:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5zXmOBB+Cbnjl5/jE8kLglSpWYZKMb0nxJs0XMtYWwma/knDmDv+jGKZ9m3bh6t+C3lEXQ X-Received: by 2002:a62:52cc:0:b0:565:dc13:bb6b with SMTP id g195-20020a6252cc000000b00565dc13bb6bmr4710423pfb.45.1668719550563; Thu, 17 Nov 2022 13:12:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668719550; cv=none; d=google.com; s=arc-20160816; b=JYIcBdsUYQQpf/Lfvfc5bnBaS/sqN7dgulqXUIUgdDn+tC3cPshxmPebIpvsqH2MZV 6G+K9mbOGLhxvyIEK2nmk7PBCJzb5DRTDCknQV36BcE0d4RrKSvJTbrIrtv83dCdlQMz +OqWMm3389MQsKMQ6gKZRQrUFyfKfhwteW1DrmTITHqNqqPcbP6iuWTURgqNIi9m1iE3 Mo6PdiusllPnPKmxR/beoaEPi4MJ8a1Q8HmUPK40wiPPNUJftcUb0cTf3jnVWMFJp71r uE7RsO2T0kDv0T/Zw09/OrMtw2KmnKgFL2wDaCK4eD1c6Jw2Ksq9zA0moXcmFCrbbElN EqKw== 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=F1iASzZDC3Fhvhq0QYEzRxFhZnCtQTqTEj9yGmq88zo=; b=RH5mFosK6xu+Bs70N/CDYnmfZiBRRZpE5g/ghxh4uetqoaLRlCs8s9fADmcLBMOjl6 guz1uHhL0V7C9UqIztaTDV7YJrxnV1AXTlwmG/H9ApPzUJNHqNqf66jDD0hC1U3XPC9C 50K2JrRD0fyrL2geqh5Hc08wGkb64SQphgxhHpr7Rr/JpS1Rrb1rdx5KuKCm47BElPWf t8V0G78THpvlAs3RaiMs+pvnf1UXvEDOPSvwCRSFquTVwWqlPNBx5GTO4IWgSmxYld2h Z/gb8CReMifv5Mdrt3uBCYgeo8WcnKJXxR17pvy0jL0AtsfZzKU+fQ6NnetrSfKyMrjU C29g== 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 q8-20020a170902dac800b001769e08c554si2181839plx.545.2022.11.17.13.12.05; Thu, 17 Nov 2022 13:12:30 -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 S239211AbiKQUgi (ORCPT + 93 others); Thu, 17 Nov 2022 15:36:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235060AbiKQUgg (ORCPT ); Thu, 17 Nov 2022 15:36:36 -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 7B3326585A for ; Thu, 17 Nov 2022 12:36:35 -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 2F4FBB82072 for ; Thu, 17 Nov 2022 20:36:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 321A6C433D6; Thu, 17 Nov 2022 20:36:32 +0000 (UTC) Date: Thu, 17 Nov 2022 15:36:30 -0500 From: Steven Rostedt To: Wang Wensheng Cc: , , , , Subject: Re: [PATCH -next 3/3] ftrace: Delete unused variable ftrace_update_time Message-ID: <20221117153630.4af6a7da@gandalf.local.home> In-Reply-To: <20221109094434.84046-4-wangwensheng4@huawei.com> References: <20221109094434.84046-1-wangwensheng4@huawei.com> <20221109094434.84046-4-wangwensheng4@huawei.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 Wed, 9 Nov 2022 09:44:34 +0000 Wang Wensheng wrote: > ftrace_update_time is not used anywhere else after initialization. So > delete it together with its initial code. Thanks for the first two patches. They are definitely fixes and I plan on testing and adding them to my next pull request. As for this one, this has been more of a reminder for me to one day (I know, it's been years!) to export this to see from user space. I sometimes do it manually with a printk(), but it should probably be always shown. Perhaps in dyn_ftrace_total_info ? -- Steve