Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5211FC6FD1A for ; Tue, 7 Mar 2023 06:01:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbjCGGBu (ORCPT ); Tue, 7 Mar 2023 01:01:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbjCGGBo (ORCPT ); Tue, 7 Mar 2023 01:01:44 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E98CC4DE30; Mon, 6 Mar 2023 22:01:41 -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 68C99611B6; Tue, 7 Mar 2023 06:01:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72C92C433EF; Tue, 7 Mar 2023 06:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678168900; bh=xlQv5ZF9uz5qXAhO/3nR4xFyeMK6zkkCXsLp/a3Z1fA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=BAli/Vbb+GkkidkJGK7WwwLI7F+q6UAQ/W3ixqtkcUb+DtQz0IyAnW9zd2T3AI/DN BuFd4vvufnyWOGbNTBFiZEKOdbOtD/CHc+qH9hJBXRGYbVWgCkt8E4Yj7H5Utzl0W9 2CFdHG5VLmCsRk69St/DasRzDuohzoomUgD8/pY49UDW7njvrwWNd9iynwMuYzx/Lv kvCHPhRwzd4Uz3ZzSP2UxDQNH0vQf2+ch1yCSF7xxwNkcAspjlIBTP8YYIcSX2XS8w lm6Z5sdnXHREYs8r5AcYTjTlc+WVkzEWAafeBGyMsoTCag1RBnXTbu1V0wYYkGHYky gMAtL3CtApKnw== Message-ID: Date: Tue, 7 Mar 2023 14:01:36 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH] f2fs: Fix f2fs_truncate_partial_nodes ftrace event Content-Language: en-US To: Douglas RAILLARD , Jaegeuk Kim , Steven Rostedt , Masami Hiramatsu , "open list:F2FS FILE SYSTEM" , "open list:TRACING" , "open list:TRACING" References: <20230306122549.236561-1-douglas.raillard@arm.com> From: Chao Yu In-Reply-To: <20230306122549.236561-1-douglas.raillard@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/3/6 20:25, Douglas RAILLARD wrote: > From: Douglas Raillard > > Fix the nid_t field so that its size is correctly reported in the text > format embedded in trace.dat files. As it stands, it is reported as > being of size 4: > > field:nid_t nid[3]; offset:24; size:4; signed:0; > > Instead of 12: > > field:nid_t nid[3]; offset:24; size:12; signed:0; > > This also fixes the reported offset of subsequent fields so that they > match with the actual struct layout. > > > Signed-off-by: Douglas Raillard Reviewed-by: Chao Yu Thanks,