Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp688735lql; Mon, 11 Mar 2024 14:30:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzA955k4WsPuOYj4DqsW1lU8EfGJ3UG/m/fjpPvWjzyAF0NOHTsdgQJZ0psDmmiJ5hUgs1EKvjlw3Me4A2ZncjI7qjpRHjR0WXZDt5dA== X-Google-Smtp-Source: AGHT+IEXxTS5ZMd+pS28kxSY2re0uphogYXESgngSDUSO+3cZ6T+oIEL4+ftZCsK3umXXM8OP5T9 X-Received: by 2002:a17:906:1990:b0:a45:3759:ffb8 with SMTP id g16-20020a170906199000b00a453759ffb8mr4922361ejd.61.1710192656620; Mon, 11 Mar 2024 14:30:56 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dt16-20020a170906b79000b00a45ae2e3bcbsi2857130ejb.515.2024.03.11.14.30.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 14:30:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=d5BLSvx5; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-99570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 248E91F21A21 for ; Mon, 11 Mar 2024 21:30:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EB4057322; Mon, 11 Mar 2024 21:30:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="d5BLSvx5" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB36D56B90; Mon, 11 Mar 2024 21:30:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.8 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710192635; cv=fail; b=D1h51wyqkn1vKvilGIOXxBDYkWCabLjEAKLHoZ7MlW3QgPPGzZq55gGMyAkITR/QRTNPkvHnTjlY+vWm3nY3ffeTsy7xUywWFiiOhSsRGRR8pY+TEN9uzKWZzWWes2ynfwszkIXI73tlCqggSZKQyyV2ki7G+5EgVA8PjVhK0+w= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710192635; c=relaxed/simple; bh=PMAsaEbu9cajDzrWsHNRWLD13El8EFBPEW1y/HCWG2Q=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=rWDSiZey3KLHORPpDFChp1r/C9y22yMkZ3iOsjg/aKq4Y8ySxHFdJQhMaiBuAcj0n8bQKzpVTyV+1IR/haeU93xZBW2UsV2jd/JprLGdZZc8qxD/4wZn/1nVnfCtke9Y/3fT6BOATMs+/5OU3kgSEI36QmG/mEkOWZxNeBXW9TE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=d5BLSvx5; arc=fail smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710192634; x=1741728634; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=PMAsaEbu9cajDzrWsHNRWLD13El8EFBPEW1y/HCWG2Q=; b=d5BLSvx5FP0nTQ4Xn4FzZStGOjclLQYGJoyD49SCD0f3Zo3jBPctNHLc zlbNkyaakuoJMId2ZcZTmA94eACMfMhz1dbjhrZVBYyjKmQMlQ+wVxgCv sWrM51BeEF6DrhF8o3ltkWlEfoh1+oXX6jb3CLOZMpojy40XTnW0XmS/M ZMbRpDVAeXR3aWxTFlu7w+FLgRNzBXDUS5i+QicDcHo2npGw87Lc9d/X5 v9NTnZJ09Cm4FmSjMJd894pWiFnux6sNNJKFZcM0gIEn8QyIbkmXq5eQu kjdzBoxMUMKziWVWy51L6x3Hy+jCGUOeYu8WuT9iGCIbVY+FFYMkGiXUx g==; X-IronPort-AV: E=McAfee;i="6600,9927,11010"; a="22398149" X-IronPort-AV: E=Sophos;i="6.07,117,1708416000"; d="scan'208";a="22398149" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 14:30:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,117,1708416000"; d="scan'208";a="11367611" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 11 Mar 2024 14:30:31 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 11 Mar 2024 14:30:30 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 11 Mar 2024 14:30:30 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 11 Mar 2024 14:30:30 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 11 Mar 2024 14:30:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ev82WlWhLLoCTl0OCu3t+gYxL0UvezaYVpsHIZ6j+y2wOIt4r93699Gl7WzJnl0rdaAWIJ2OaTmPb3rSNaSOB1Fb3QJXsssrsSGQg1BIsLV0FaSlISdA0TDvudqHb9WBXSlSbF+n9jszCaSoZy+hipiSJC3r61dyNo4iPx1F+riU9kt688t2dxxjNQn+nljPo28ziYO3yV/YMMIHdnsGzKTa5ZAeHHGJNxtWuCkG3ocCj1QiolqrKc7uTApQYwOrr9sO3bC6uaHJDkmIMGiIEv02qzQFg2dacqUrTbThrLzDSbv9x2xM4nIAQ/XnPTEpp8Gqu3ikb1gc2LUs4pyKmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PMAsaEbu9cajDzrWsHNRWLD13El8EFBPEW1y/HCWG2Q=; b=i04AVSgv5Ko2FVmlrfUVTWdGuU/AUMWB4+Y1qLaEZXTSw1fk9JjL6k0w9R1JXL5xcnP2z0I7fvh29LuqcD7rKEA+LY6Q9gZeADB17cdHy45veF1qFEUwkyMF8wTfa2QrTezoOe6LmxagCcmPKMkguoLNnzB7Iu9/Uewb7Vv51pzt+wZtVLvmy78sBSQyBpEWebHLQ4NMG6eML21Vcgbu1gqd88zYWR0dS0xj7krUe2O/+8nCTdLKSTAt9R03y1t7qH4lfJ+7pvyoATMYK2r5Ip+OWVlYlN7jKvT3pMIUjIeB1u1j/mfUiqAuyQhD1BIKbg3MK6HdZ0eifkzc87aDlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CO6PR11MB5635.namprd11.prod.outlook.com (2603:10b6:5:35f::14) by CY8PR11MB7393.namprd11.prod.outlook.com (2603:10b6:930:84::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.16; Mon, 11 Mar 2024 21:30:28 +0000 Received: from CO6PR11MB5635.namprd11.prod.outlook.com ([fe80::d3a0:f70a:9340:9a3e]) by CO6PR11MB5635.namprd11.prod.outlook.com ([fe80::d3a0:f70a:9340:9a3e%3]) with mapi id 15.20.7386.016; Mon, 11 Mar 2024 21:30:28 +0000 From: "Wang, Weilin" To: Namhyung Kim CC: Ian Rogers , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , "Hunter, Adrian" , Kan Liang , "linux-perf-users@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Taylor, Perry" , "Alt, Samantha" , "Biggers, Caleb" Subject: RE: [RFC PATCH v3 2/6] perf stat: Fork and launch perf record when perf stat needs to get retire latency value for a metric. Thread-Topic: [RFC PATCH v3 2/6] perf stat: Fork and launch perf record when perf stat needs to get retire latency value for a metric. Thread-Index: AQHabDY/WYWU0sDgOkmWpl/MeP21nLEzF/sAgAAFmPA= Date: Mon, 11 Mar 2024 21:30:28 +0000 Message-ID: References: <20240302001139.604829-1-weilin.wang@intel.com> <20240302001139.604829-3-weilin.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR11MB5635:EE_|CY8PR11MB7393:EE_ x-ms-office365-filtering-correlation-id: f051b33a-1798-41b2-08c3-08dc421278e6 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: haBiT0fkN3G5XrcZoi6p0iIYUjp8s/rDHJlVm304/sm8jII/jiwUluxYNlz9GpjC1vxQa9faFPjJ1Qx0TZ3Ffu4QpZVJpLv6P33D7RHcKYEvxfdJk41Q7tYNlf+eBilLZ4IGyjDosYBha29Z24+fq3IyCHKkBlQN8fql8M7QkvmlEcmEBPqI5qzHXM4nAzraAe3EYheT7rCKv58ndosICWNlJSxX4+0BbAVY4S8e8MrIzitNjTQCjMrijuVqCmn2gZdkbcZacRc1Jb8NPqBHovxFbahmxD9nJY29uloivZDKp+hiLqMw8tKXyQhXdNZQ4OP7ArBp4sJoMf6tZ3x2v/oB1fRQ1pyZGGHDZxQE1DJSAFfG1RLDNvpR7a3ITRtK+r5zwRp/ejquazLD+lyntXggTVK81NrLSC+7ngL+hfHuTErlgkEN7GnXphqFTzi98GAhZGSkI8f4c+J90fUh6fQ9nQlTpO9oqEFxRFidv6moLlpJgkuTgL5qaZtzZQL+xX9i8qEFdP8dDwlfxIO8ha7hEopOR7E59dnnu3hR8q8mwz3zbqFinOOZjAcAxnpvStznRAhBR9MPePOQPG96nyJ8cGjjy0bZUTXulMumEeg+dgHRoUuv1L35deVpkvW7IQN/3WQJJOqivcDdfMrFMNrgE3rjEcqNpqOR21mT5PgFAXBXXrkWGw0OmipMOz+x9c3HN+NeG79z3x9veAAIIKuGuxeatKxOQoqgAK/HOSQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR11MB5635.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(376005)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SnlQaG1UVk5qUlI5MjFlcnUrZzNuQmJDSDdEQUxzeURFTUhnUFR4WDZaKzZq?= =?utf-8?B?SlFpSjZ3ZldGQzZNTW1yNll4dVpLVXl0SkV5YllUVDMwYTVKUmxJRnVZeFI3?= =?utf-8?B?THRKbElyaWxWR3UzZTErR2R6dnZPdGQxdzF1Nk1DNHphRlRidUJRRW14WXpY?= =?utf-8?B?cmx1RFhnOXQrNTlVditmVXZPTWxBKzNCUjY2SXJsZWRBZU9DKzdJdG5mRUxa?= =?utf-8?B?aUlqT2NESmsrTmVtekloSkcxR2FKbVV5b0FPejNkWmtOWmd0L0swckE2bUNo?= =?utf-8?B?U1hPcWFOKy8vVi9aZkdwb3l6aUk3WXBGQWh0RjI0N20wL3kzZDJyajlBNW1t?= =?utf-8?B?SnFmUjVMTXUrb1R4MnZNMTF2dW01bldiOWVPbU1zR0RScGxaOTk5MmlGRkV1?= =?utf-8?B?RDNKNFVvK1AyY3lEU1dYNWY3RUUzTDF1UDlVdXlSdEZNTHhLOTZxRktyaHdF?= =?utf-8?B?eDlGc2I1SzVFTU54L2dhTExMVURLSnFybk5S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GIwSmZZblh3NVI5ZTB3V01KZm9vZWlX?= =?utf-8?B?amtHZnlZUEhKR0hITEo5ZjhydWNaeGh5VElTWlNDaUlyY294UVVGRjRvclJz?= =?utf-8?B?SmpQWUpYVnNYL3pwOWJONjJJVGhhRFNsMllIelBJMWQvUG5kY24rbkVIeFMy?= =?utf-8?B?cStSZmtJSVIzWnJoaVMxYVRSVm45RUJLcDU4M0c1cW9Cb2VTcWRPVG1aZHJj?= =?utf-8?B?S2JjL0pqVm1WYTBJYVZzcyt1Zyt0YndJQjJIcDV6R2QyZWJuWlZKRktmTzN4?= =?utf-8?B?ZHY2TWFHMWVPbTU4NEhqckhhYm55eU9BdkpDK0U5bjFreVZVNDVYUTI5bHFy?= =?utf-8?B?TEExb0lFakRXU1N0eDNNNk1hQkJsOTlCSjArM0JGRUVyWFZqbXY3QmV6UGwr?= =?utf-8?B?d3ZHM2gyMG1udDRQdTFubktqUG96R3BsVzdrTC9yZ0tGS0wwYkJDbDdQN0hr?= =?utf-8?B?M2tMSWdTWlFQbENxTE1kbTFaS3p2NXhHSUpUNTJYNFFXNnp1anY2czJQTGR5?= =?utf-8?B?b3RCdmhiOXFxOUY5R3M1N3BRVXh2NGtaMEhTQmtLZWJIRk5FTWtpbDR5eDE3?= =?utf-8?B?SFFCcUY5MFN4ZzdZWHlGdjUrbzhrVENYVXFFS1BPU1ZBOVgzK1FjYVZmYkJD?= =?utf-8?B?TG5RMU9FSExZaURsQXN6WGhuQkpRMkhUWW5qaCtyWUtoN0hvVDZYNmQzODhY?= =?utf-8?Q?7jFXAx3gtJ2fmoVMt46J/amjr?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR11MB5635.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f051b33a-1798-41b2-08c3-08dc421278e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2024 21:30:28.4518 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7ozb/OC/Lji3kZRSg4wIMyqeqH4VCO8B3thqpMu53dUraszHP1spbENUISQy1JIU5LH7vwHu9p3TSPc0w5LYyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7393 X-OriginatorOrg: intel.com DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTmFtaHl1bmcgS2ltIDxu YW1oeXVuZ0BrZXJuZWwub3JnPg0KPiBTZW50OiBNb25kYXksIE1hcmNoIDExLCAyMDI0IDI6MDgg UE0NCj4gVG86IFdhbmcsIFdlaWxpbiA8d2VpbGluLndhbmdAaW50ZWwuY29tPg0KPiBDYzogSWFu IFJvZ2VycyA8aXJvZ2Vyc0Bnb29nbGUuY29tPjsgUGV0ZXIgWmlqbHN0cmEgPHBldGVyekBpbmZy YWRlYWQub3JnPjsNCj4gSW5nbyBNb2xuYXIgPG1pbmdvQHJlZGhhdC5jb20+OyBBcm5hbGRvIENh cnZhbGhvIGRlIE1lbG8NCj4gPGFjbWVAa2VybmVsLm9yZz47IEFsZXhhbmRlciBTaGlzaGtpbg0K PiA8YWxleGFuZGVyLnNoaXNoa2luQGxpbnV4LmludGVsLmNvbT47IEppcmkgT2xzYSA8am9sc2FA a2VybmVsLm9yZz47IEh1bnRlciwNCj4gQWRyaWFuIDxhZHJpYW4uaHVudGVyQGludGVsLmNvbT47 IEthbiBMaWFuZyA8a2FuLmxpYW5nQGxpbnV4LmludGVsLmNvbT47DQo+IGxpbnV4LXBlcmYtdXNl cnNAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZX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