Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp229758rbe; Wed, 28 Feb 2024 19:13:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXH97wxKhX9BwN7kgPhQvcTP5WTeX1zqH38yuH8AzRN8SW7rbdMDSaRICsPx6kMic7y4bMpAlUADUrxYGwU4VCgFrQCALp929HVIrDO7Q== X-Google-Smtp-Source: AGHT+IHK5O9bQ6AdrWZrYDVmfa+1XMcT1+a6J9FOOiQWtCXO1TKoHvSGdBGo7mOC9Ra4NlKPOSwp X-Received: by 2002:a62:81c1:0:b0:6e5:5de9:146c with SMTP id t184-20020a6281c1000000b006e55de9146cmr1062403pfd.14.1709176382455; Wed, 28 Feb 2024 19:13:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709176382; cv=pass; d=google.com; s=arc-20160816; b=kig7Of/QV5aeTKYGm14ThYqGmoUmDcWDXACD8MkZKna87J4f1orx0Qw26Z/TnG1lQw BCjA8bQf+fj4E66Bil2B8f9WwGW9y8d3CGVwAfvcT/ARczG6sLSph17TLSKegoO0iVpi 9UcLXkWCdoUArY+6BHF1JCz7JUKx8b3Ym56uRtC6ibvQMVU9ccLCae27Oz3Ar1ZUopu+ 8X9UuVXB/Z6AC63drPCUMQwUuzAzoamIG0subgEfdYJTaK3PtJ+tw+MDyDKitTSLG152 nNzJJWM1SrdW3bJ7ZRq91TXdonU2gEIu0rg/jz56zJFLxPO1a5LclfjQl3TGRw3gkqO4 lGYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=oKTaJJvcz6ukUnHCjiAcv2W8DHAWX21S/CGeGiPRnVA=; fh=O1bw+sjKxKmuN7VCGB7aw3MX6fc7a/NKOsr0RpDFc0U=; b=Vqu93CHI1yQrsVtuA4FmadE0awAsLQy3QVhh6pwuN2sJY/VjSDVEvxT57DW4PrsJG/ eRA53s4USR4NosjuTEvcHWVmoc5E2Fz4vfzX1vF7m1mvRP5EkCWRuQkuNE7VC0fUrugS CvcrD83dDjh41IkwZw1cKSubUFHdhxC0MsFw/80VfyXdBf+QzRWieuwA3R4s6gbeCyz+ j3YN4esLkYnmlMwaSWq80ERuBuGrGC9MTpKuajxb3U4lOoI+miPjoJ6gQnczGjM4OvvP UsXhZgInObX8++BWNzXJu+qTk9wT8X7fV30SPCZQ9IQPSQyMS1pjze06vHRHjlt66/+i 7kOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@shopee.com header.s=shopee.com header.b=l5JxK9ba; arc=pass (i=1 spf=pass spfdomain=shopee.com dkim=pass dkdomain=shopee.com dmarc=pass fromdomain=shopee.com); spf=pass (google.com: domain of linux-kernel+bounces-86083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=shopee.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q7-20020a056a00084700b006e5851afeb0si408311pfk.157.2024.02.28.19.13.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 19:13:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@shopee.com header.s=shopee.com header.b=l5JxK9ba; arc=pass (i=1 spf=pass spfdomain=shopee.com dkim=pass dkdomain=shopee.com dmarc=pass fromdomain=shopee.com); spf=pass (google.com: domain of linux-kernel+bounces-86083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=shopee.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2F010286469 for ; Thu, 29 Feb 2024 03:13:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E50336B17; Thu, 29 Feb 2024 03:12:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b="l5JxK9ba" Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C48B2E851 for ; Thu, 29 Feb 2024 03:12:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709176375; cv=none; b=iqXqvaTU2oEtmr/wVebUeQgYFE58aIDM2zHdtQvRpgnNIaZaeKphinaQNjmkKEVdRUrmv4BMIQNFtqSIflAR5e+WGsYJCwuE1ynIbruwb9ki5vxyYEdo+HVNhhhlKdaAKm2Ct/IWPEcGT/QGKCrTbwX/4UyWwhoVq141Ofy4vrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709176375; c=relaxed/simple; bh=b21SZcrtxETP46BZ5OtDVSrmPOUozzVmmKoU49bk4no=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=o7Scqu1F4SyvMUlhsjytbkQf6YaaGnmhu5wd9mn/h33BkdBPrV7SYggazkpQvFXUg5v9E68HDqUcGK0TeWKwXX4W1kpWPSCtN1Exycb/LX2XEdlMQ/o0PSdFu99JQFYgkqt3wYRc7oUgIL4aJZpXsY//w/rQVG9+/cDVfzbsoWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com; spf=pass smtp.mailfrom=shopee.com; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b=l5JxK9ba; arc=none smtp.client-ip=209.85.160.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shopee.com Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-214ca209184so200806fac.1 for ; Wed, 28 Feb 2024 19:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1709176373; x=1709781173; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=oKTaJJvcz6ukUnHCjiAcv2W8DHAWX21S/CGeGiPRnVA=; b=l5JxK9bana2mK5OM/6gdmgDxfXiNVa4hAgrBM477NE5tT4jAjOQYoAksIcGOAhDGzm RfeiI5smxvPWhK6oTY4xkDFWiJ1V44UTz6gc9nPt4a7tGirHF/58gTovgY/M4A3SvWLe JUVw3qhmhk/oHf6+RwUxb4dW4NpysJr7aaAfWvwR3eVnBonSBwhafAexquLqEtRjX+VY P0L2VyjC2B9V5lYfIst+7Iv9e6A3gb+O1eHOes54QSGET/jInGLS3UlO7257l/34AeUY /ZlTQKbhmLnHqhveHo7htlfo7scHT1pSWv/re5+dQ78T7DizLMMPp2s4zsnUZhd+qNO+ 2NAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709176373; x=1709781173; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=oKTaJJvcz6ukUnHCjiAcv2W8DHAWX21S/CGeGiPRnVA=; b=ODBWedNfX0KN5sv+eON7oG5LJ1Wb3OuLAEMFFFipe380Ftc4P02+J3GLQLnHkCbkyC agcCoGfExclM7G1hJQJR/ejB7FEQSMnTqtsfwrLOQ4MExkQps9cdnccaS9IyRtYkQfSs bVM37bqfOsmGiriskcLjd35WpOMVnhBTTeqH7z+VeKkIp2QlcsoCx6AhrE21yd430eRJ e+xGcaRUpb2RgQqXNus27huWtr9QRxyPAw/X4aIP/tg5vA9In0Y0tAuHFO3JASNfmZm3 26RlB/gRqZ8EZPRvppy2OiX2TIdcR964FKczY9xctqHejdDgl19n6Lh0fhFyqOi8BXeo zWzg== X-Forwarded-Encrypted: i=1; AJvYcCWg1kRUdly8V7NATrh3aQDcVQhx0hre7kV5tY2Yu1OnMVycy1ffRpUj10b8gYJ8jpJHJhK6H+7Pq+tLXALpZ+/nIZKnRqf4l61qNABu X-Gm-Message-State: AOJu0YzGyU9mxU20dTbDDEqs8dPmJsaarXIe7GW/CSpEANJ+otmSkTjf dWM6nrm17eZQxyBXfBb1CGGZ8xr4jnrVN51Fb6MJLBbMf1DY0pDSxZjAFdE3r+g= X-Received: by 2002:a05:6870:4d13:b0:220:9327:2019 with SMTP id pn19-20020a0568704d1300b0022093272019mr373066oab.55.1709176373176; Wed, 28 Feb 2024 19:12:53 -0800 (PST) Received: from [10.54.24.74] ([143.92.118.3]) by smtp.gmail.com with ESMTPSA id n13-20020aa7984d000000b006e560069a95sm171834pfq.174.2024.02.28.19.12.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Feb 2024 19:12:52 -0800 (PST) Message-ID: Date: Thu, 29 Feb 2024 11:12:49 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] x86/resctrl: Rename pseudo_lock_event.h to trace.h To: Reinette Chatre Cc: fenghua.yu@intel.com, babu.moger@amd.com, peternewman@google.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <20240221092101.90740-1-haifeng.xu@shopee.com> <20240221092101.90740-2-haifeng.xu@shopee.com> <9055ee27-0860-4701-9ae9-801c25cf2aef@intel.com> From: Haifeng Xu In-Reply-To: <9055ee27-0860-4701-9ae9-801c25cf2aef@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024/2/24 04:00, Reinette Chatre wrote: > Hi Haifeng, > > On 2/21/2024 1:21 AM, Haifeng Xu wrote: >> Now only pseudo-lock part uses tracepoints to do event tracking, but >> other parts of resctrl may need new tracepoints. It is unnecessary to >> create separate header files and define CREATE_TRACE_POINTS in different >> c files which fragments the resctrl tracing. >> >> Therefore, the new tracepoints should be placed in the same header file, >> and the header file needs a more generic name. > > Please do stick with imperative mood [1]. For example, something like: > "Give the resctrl tracepoint header file a generic name to support > its use for tracepoints that are not specific to pseudo-locking." > > (Please feel free to improve.) Thanks for you suggestion. > > Reinette > > [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__www.kernel.org_doc_html_latest_process_maintainer-2Dtip.html-23changelog&d=DwICaQ&c=R1GFtfTqKXCFH-lgEPXWwic6stQkW4U7uVq33mt-crw&r=3uoFsejk1jN2oga47MZfph01lLGODc93n4Zqe7b0NRk&m=JoQ5pMB6FFBeGHFDWQYyFgKF2Y5VYhBeykX4853MHrTi-O0Jk3H_K9bh3NaxwLRx&s=482No-jEnFTObHttNwp2LTS-Dc3cP5jQOhL2cEj77MM&e= >