Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3978136rdb; Wed, 30 Aug 2023 11:34:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV8Ol+atJ9r0B+i5CvhS/R3W2W/UoS9O68hW+7EqDibDocaKebjnkAj1KmYRIIVGYhMlRa X-Received: by 2002:a05:6512:36c8:b0:4fe:3a57:7c98 with SMTP id e8-20020a05651236c800b004fe3a577c98mr2025324lfs.32.1693420447269; Wed, 30 Aug 2023 11:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693420447; cv=none; d=google.com; s=arc-20160816; b=gXazdn9EC0CmplfIijcyMvjemX9IQLOfqUWWUQp+hG3HToKPIgzyJ7Nc93STxZYYxr E885Ji3VtP9mCth+aQ+qmufS97ZCfk5iVIoLO5v/M1QAs9jdXz516YgJNviFhV6o8hGf YXlMyL9W8KXD0GXG2kvt78/FAWRXnWcYsR+5sT3vqc3tio1i0TWtQhnjqY0WIbWAHbf7 HpF2ydNp6rR3Uv5NmMNZV69e1gS443rfx9d3XfINVEu02SSxbiEMJeEo71KpYjz19RDI qvySIZN5+UprdUweSWmTmHWI8FGjB60i542/MyVVIG1NnOm0Wrw+eyRX7xaSHoeHaQqa lRSw== 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:date:subject:cc:to:from :dkim-signature; bh=Wi5eLZPKAQoaN9JYgXPAP3u1gv5ZGszVZUbIW7nRLtU=; fh=tk1lSvUuhwTvhDBkd7HXZ5URuZuAfp4YXhwGe5kVzP0=; b=TccWU0ta2TOJfF2nnxU1Q6aTHnv2LVyQnweRjwrB7k1kDnBh+2SxVvWa9vW5fyABrj o9sB68hjBZHqVL6dWSz2ZcN4VOmCjQ1aTV62yOKLh+YvmFIn4zKAQl6vEWmQpcm6TE+2 CRDCV20M+VRCe4DkeF+yZgSTIBUbsI2zYwmEtVbIKz2vzFbCDP04VNu/ZN+HJCevLMuQ Eha60N+4U+cVLDKToIqMgVlG2FOcq2v3eCm9llqGZ1mZlxnccCApK6kxzEjhoiyWPxnn x09f+MP3FD9F6X/iNiI3vsUZ3Bj8KKOkL3m0amPTp4G2YmIHiiO6vVrVwVHfk9yJovxC w9ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lBU3UyED; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m22-20020a50ef16000000b0052a4737a084si5987616eds.397.2023.08.30.11.33.40; Wed, 30 Aug 2023 11:34:07 -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=pass header.i=@kernel.org header.s=k20201202 header.b=lBU3UyED; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241570AbjH3Bgo (ORCPT + 99 others); Tue, 29 Aug 2023 21:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241579AbjH3Bg1 (ORCPT ); Tue, 29 Aug 2023 21:36:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C32CACC2; Tue, 29 Aug 2023 18:36:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 58F9660E99; Wed, 30 Aug 2023 01:36:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38016C433C8; Wed, 30 Aug 2023 01:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693359383; bh=0T61JhZvBgtGqTFCxU7ee9dwkyQB1gfq2ay5n+uX9HM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lBU3UyEDn9KBvrJspSdcvxZ/i/yQRLuIi/gAfUUsMXID2Az4PxAo4rK04tzWzyp+u Se7JZy/rdzOxMjePY1C0mZ8gLkZxYrMNEtmCNpU9cI6TVtk3eu7M7rdnetGzvuExJW llTxt0gPw/5049P/a7+dtBma2qaEMPSXXVSa/KuugzrUzj1wiZGrLsSAsyGj6ZbPCR tzsnvvp1wIr2KYpsf0w6Rv0LGAEmGksaKp2U+D5gjWhSAFwU3PKh+PlRc5VLSAMAc/ pcWlX4mM4kcnr/zdvtUh8b974pDRnmQbtvDfDrhhuRiLqs7m7oB/BjmnthV8Kl+Gew lnEKj6Hmd59zA== From: SeongJae Park To: Steven Rostedt Cc: SeongJae Park , damon@lists.linux.dev, Andrew Morton , linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] mm/damon/core: add a tracepoint for damos apply target regions Date: Wed, 30 Aug 2023 01:36:21 +0000 Message-Id: <20230830013621.46216-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230829191629.25c5f0e2@rorschach.local.home> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 Hi Steven, On Tue, 29 Aug 2023 19:16:29 -0400 Steven Rostedt wrote: > On Sun, 27 Aug 2023 00:40:45 +0000 > SeongJae Park wrote: > > > + TP_STRUCT__entry( > > + __field(unsigned int, context_idx) > > 4 bytes > > > + __field(unsigned int, scheme_idx) > > 4 bytes > > > + __field(unsigned long, target_idx) > > 8 bytes > > > + __field(unsigned int, nr_regions) > > 4 bytes > > > + __field(unsigned long, start) > > This is going to cause a 4 byte hole. I would move nr_regions after end > so that it stays properly aligned. That makes sense, thank you for letting me know this! I will do so in the next spin. Thanks, SJ > > -- Steve > > > > > + __field(unsigned long, end) > > + __field(unsigned int, nr_accesses) > > + __field(unsigned int, age) > > + ), > > + >