From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (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 EC43F154432; Mon, 22 Apr 2024 19:13:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713813203; cv=none; b=Z2/DJkg0ur5NzNxt3lbQh0SnYsc18bdGYdiSWmH+BDt9UEVuGi34UiXH8YDgve+VpKVSdUxk5N75g2X8nZugfzkMZk1/Qm+msXFFmaXCVKWvtOw5jP/WcON+g9NavlDvDZ/N0THfAXzyS/iCu1LAqG9LdTuW+/VkLYZvB+TsCIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713813203; c=relaxed/simple; bh=n3vvI5G4jLdBOt6Q70+4BFyCFpg5vWoLy3HN5IdjI8A=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Qq5NPgzRpquX5L4mcSbtROVDRKu2UZYGJpPWPZ3BLhI/uGEUn7I6D3WTFLwYFzk11bJDeOTbbrBRK5oomXxXAvnGGyVpqn74/AKsxqkv914TT5g40mOUOA5KH7Xd2OAZ9OmZ4AhH6gpq57GQbFox1+KFOelO0IYAxBWS+6v7vlo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.217.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-47a1a2c4c7cso708327137.2; Mon, 22 Apr 2024 12:13:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713813201; x=1714418001; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n3vvI5G4jLdBOt6Q70+4BFyCFpg5vWoLy3HN5IdjI8A=; b=erU26spRavHaTcSu3glp8TrTlowQt2+f6PBNB0EGoAryMi9hLItRBqaI6a9GHdOoV7 Ya7ipKYSYin24A+cVCVzINXA+dRkZkPkVUkRnus66U69ny+lK7AxGRw3t+YTfJ33D+qG Zm2luALcxTPSIdtm7M7aYdEmCOWJ+OCZ2kHA9+KGixdZtIidMxcVFvrs9Ysr+QGzZYJE GCrI0uqmRkZFE1KryhcTcgecC3r0fv7b/78rQ/xfOgLtLjDnV4QLpTVKnxuR4m41KKtc V676yaEMINjs3IFf/HaT5Yzwmo+T1vyoFSJ/iXw6d2wAlfq88eNveJHczjexPTpasJxR 6QaA== X-Forwarded-Encrypted: i=1; AJvYcCVBhIhO3RudXUaGdUUFHqoLLk7jV/AbLrFY6bWaUhUXE5YdSqLkLZD3L1C0Nls0oXGEcoYmp6/ezR0ZpWLub0wLa971mGsvuR8lxHsZwKt3DsyseucS8E69kqPBbyY2eDG7upwiD8ejDKRc9TJasw== X-Gm-Message-State: AOJu0YyPifj944jDGpP8zHx4vW4oduYCp+GGEumy8EYZheMuUz7QKapC rqqNwWIopXSMGT5FuzIOYx6jsxwMs+BL8oOoJq7rgVuAnvFIk/mBGTh7JFUyw3GHuRs0UsDp9NQ NxQjVSOSVXtJYit7DozxsjKcW6Vw= X-Google-Smtp-Source: AGHT+IHzMoRwL7tNF4U0exFnj4qhqVFp1TwzqvLicf2SXHFukBKRhyno6rOPz7ISBXLkG5AzkXhuCswHl5LSR+mOW2A= X-Received: by 2002:a67:efc3:0:b0:47b:9290:f903 with SMTP id s3-20020a67efc3000000b0047b9290f903mr7592305vsp.35.1713813200897; Mon, 22 Apr 2024 12:13:20 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240402214436.1409476-1-weilin.wang@intel.com> <20240402214436.1409476-2-weilin.wang@intel.com> In-Reply-To: <20240402214436.1409476-2-weilin.wang@intel.com> From: Namhyung Kim Date: Mon, 22 Apr 2024 12:13:08 -0700 Message-ID: Subject: Re: [RFC PATCH v7 1/6] perf stat: Parse and find tpebs events when parsing metrics to prepare for perf record sampling To: weilin.wang@intel.com Cc: Ian Rogers , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Perry Taylor , Samantha Alt , Caleb Biggers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 2, 2024 at 2:45=E2=80=AFPM wrote: > > From: Weilin Wang > > Metrics that use tpebs values would use the R as retire_latency modifier = in Can you please add this to documentation so that others can refer? I'm not sure if we have a doc for the JSON metric format. Thanks, Namhyung > formulas. We put all these events into a list and pass the list to perf > record to collect their retire latency value. > > Signed-off-by: Weilin Wang > Reviewed-by: Ian Rogers