Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1780654pxp; Thu, 10 Mar 2022 12:02:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsPmEGLBciNKBYp4+GNtMKKIAwTYZJ87vY95HPCnpDKMoAASpkshLcCrMPNXRERDUJUOu5 X-Received: by 2002:a05:6402:358b:b0:416:c8de:ffef with SMTP id y11-20020a056402358b00b00416c8deffefmr1697159edc.45.1646942579186; Thu, 10 Mar 2022 12:02:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646942579; cv=none; d=google.com; s=arc-20160816; b=EukDKT1Wsr54Ixm+Jg9D2jtevSQaPbvsnBMr5A0+F57QnX6PVssPfWaN7ivnIQOW3S txm3tBnMeaSnjUfjmfwJY+KE+9yRvTKKrangXU4zNCsxPVTLA2tXSM0c41Lk+k6oJ0T3 USK2oyL5M1Jidtxb/MqH5/HnJN5TgkkyV73bkTvAnZshOjXiNYuvw9tEzBQeKjhNg50k Q5byPFE6wkXx+u7G8orko7kvyBaipoEWlsQvif9t0uITmXAhRaSwXcolZArWjh66T+d0 fGPeYNOBhGuZvGyJ9RCzfo2/EL+wOXT04fDJ6W8M7UZF10OlEjQETl4Il9t551Yw3uKQ c5Sg== 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=qJVRYXJOKtkGgLnOL4Gv/yim1qdjU6VSxCfXAfPOxfY=; b=I6il1/YJ3eVpAfl9jSYztxbBIDHqhpa9IYwVjzliqRNTNUC7OkbDYqaKdyp27iWTco 1MmIpd/CYKLo4XcAylhL5xRg8RgTf6fG7pWPV3/om1oNzmbyEGZnR47V9JksvIOofA1d DZD0hEU0CSOtVRWKzVqyKAm9yHY+KO5YP/cySkB6SufzuQUUmbJ155SDzx6oJujAE3YG T9Qz7nNENfE1WiwlAA+BNI5jjO4IMmfV1PTF6NQyly5JkVqxjxoY7wPxS4aefE5NlgoD Ri+C9Gzny5cmuTktpv31uh6r0gNM6kt7c+118cjPmVYslZKZC6iDrm13ySPE0MgU/osq Tfgg== 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 12-20020a50874c000000b0040724a61771si3872181edv.475.2022.03.10.12.02.35; Thu, 10 Mar 2022 12:02:59 -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 S240493AbiCJQHE (ORCPT + 99 others); Thu, 10 Mar 2022 11:07:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240541AbiCJQG6 (ORCPT ); Thu, 10 Mar 2022 11:06:58 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1BB2186469; Thu, 10 Mar 2022 08:05:56 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 48F1261A97; Thu, 10 Mar 2022 16:05:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7F57C340E8; Thu, 10 Mar 2022 16:05:54 +0000 (UTC) Date: Thu, 10 Mar 2022 11:05:53 -0500 From: Steven Rostedt To: Ritesh Harjani Cc: linux-ext4@vger.kernel.org, Jan Kara , "Theodore Ts'o" , Harshad Shirwadkar , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 00/10] ext4: Improve FC trace events Message-ID: <20220310110553.431cc997@gandalf.local.home> In-Reply-To: References: 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, T_SCC_BODY_TEXT_LINE 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 Mar 2022 21:28:54 +0530 Ritesh Harjani wrote: > Note:- I still couldn't figure out how to expose EXT4_FC_REASON_MAX in patch-2 > which (I think) might be (only) needed by trace-cmd or perf record for trace_ext4_fc_stats. > But it seems "cat /sys/kernel/debug/tracing/trace_pipe" gives the right output > for ext4_fc_stats trace event (as shown below). > > So with above reasoning, do you think we should take these patches in? > And we can later see how to provide EXT4_FC_REASON_MAX definition available to > libtraceevent? I don't see EXT4_FC_REASON_MAX being used in the TP_printk(). If it isn't used there, it doesn't need to be exposed. Or did I miss something? -- Steve