Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp450009pxv; Fri, 9 Jul 2021 01:33:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu5J90dtqbdTXuVYLiGKHnqxrEJHNiO2QB4982HNWuO0HL0AZMh7zKnwDKlbFCfQO2ABQt X-Received: by 2002:a02:90d0:: with SMTP id c16mr19892524jag.106.1625819620812; Fri, 09 Jul 2021 01:33:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1625819620; cv=pass; d=google.com; s=arc-20160816; b=ItRC+P108wHlMbYUm2MM7cXa5SFhdgaQwe9jdJnnYZKftm9jFvXrpsmgV3dj+oKAm1 nqpZM8YMwXa7RdspGg9hmxoJGuT7+RnD1WGQVXeiIFEa1UWNRZqsyT44gIsA2Lj7Q3mf LEL96I8m0KASH1lgqKISbYaKQQstpFBjr46k921+8gYUPZR5aNdVz3xcap0Y+bhHDwPn SKQ7S93UKQCeZ6egGeoE09qxaSM9wRuGiNAt2tVO6bvZOYM+2Irr1HAR3QqHir+B/1Hs V6i8bpQc04zWqiNoM3eFvTP/OzJ51Quq/Ik5GNNnmRD+3oJ+F9ZsrAhc3EyBfwdJdwgk ui/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=Hn4fpWYIv14ajTz0ApsVQZi36hD9I/MbN9CenVZgnQc=; b=joFSAAbvIbU91s8+hmos8E31Nq1+PgEjqL2M1h2B43C5oU6JGk+HpziXpmVSVqcLxD y1S+U1QeaXrJ9Sj32EioWw+o32LM46BpMN6zMm2TecM3IQg6pkkjE0WqyhxyrHKNiYL0 VM6xaYc+B4Gc1RgQJQ3OQo/o3K0o2F6zuc08BGfIwLXdykGEX6OqBp2ZCFGMlA4+1oBw nojuQqGlzzXtRXCJBFKrN2tOwHSCn2GS2e+HygHxxybKMN31ZYKTsA2HZKmVm+rNaE0n 0g2d9g5CXGowaPv3dG/sk3+Xx63ZTnWBcY3fDW128Kwy0XVmLsivzI6jzxgg0g4NV/6N R38Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=lbeA9IOa; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b=R4W4MQ7V; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si5536479jad.45.2021.07.09.01.33.28; Fri, 09 Jul 2021 01:33:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=lbeA9IOa; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b=R4W4MQ7V; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbhGIIfk (ORCPT + 99 others); Fri, 9 Jul 2021 04:35:40 -0400 Received: from esa1.fujitsucc.c3s2.iphmx.com ([68.232.152.245]:25481 "EHLO esa1.fujitsucc.c3s2.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbhGIIfk (ORCPT ); Fri, 9 Jul 2021 04:35:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1625819578; x=1657355578; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Hn4fpWYIv14ajTz0ApsVQZi36hD9I/MbN9CenVZgnQc=; b=lbeA9IOao0vjleriLM9AIAkkTszqWrOleKc7dtIjmKf5OLzaG0q5m3e3 ahcyTwGoJAlL+rsU+uH6ILkzMiaWcXthnYlhE7GHthYu5qpKXgC4ZjLkH oXxMM01EaJJtTaMTU/bEN0/HG8BsCjGlEdeb4/h1ujoZ2Z+a8dXnP7Dka c31TqVY25sWed1O4u5wqhsVNYyeO3gKphQWTNpF9RXtzSiIs9RQ5HhtUE iOCQWpg984fFAZTnb8SE44tdPyuLo45RryqizMEcyGWGGK9ebHr6fSJN4 96Px/ypqnjyYTds6lsbVdeQngg0CKDff8s+nYcuUyoSduXzEwUQ9L2cZx g==; X-IronPort-AV: E=McAfee;i="6200,9189,10039"; a="42844543" X-IronPort-AV: E=Sophos;i="5.84,226,1620658800"; d="scan'208";a="42844543" Received: from mail-ty1jpn01lp2057.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([104.47.93.57]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2021 17:32:53 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MUE7qaoGj/DbKrXesojepI2aWsAbEPS44v/KXSeLM4UhjIsYd39IJqHYmQCPa8VxahYONWl6kBshl3wIKT//Fj4emwyoSOSl5SqYhQvG95hN51sI3k/SG/++u1tz7A1lrZHwFZ7BG0LKrAtpZQqm+UXtd2sWO8cM9ROaLuRfCiDs/58Xhgn9+3x1r8OgINSpae5Itm7SZC4IoJVvPvGRKBxALqsEdjwuS7uj1jzU/xz9970tGYfqYsZSZABsH8tg2ZlwefFtxxt1hFTcCl/myytQstRrXS9FRNUukIZJPMXFFsB8AtoUeEadxQwwnTUeH/wOF5OnQVAS//fBJBLm0Q== 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-SenderADCheck; bh=Hn4fpWYIv14ajTz0ApsVQZi36hD9I/MbN9CenVZgnQc=; b=OXFI34vr9Z28+dMPbehH9bRLeAvsEwz06Pdk9jT2IJh2yeVcRlESaqCQuZR/Pj1lvinYMY4/5GH3+r+XBtYM+yW9JombOENuPVXUyL7yk4XUJk+sqqEng/pWl08c1ARxVGdsLD0tsR0Q/D0Pss5no1p0CchPZbrlpuJTD69WPxl989XlDWrFmsFXU0PbC5v6tgOcr3pnvsiGkG/Kniyn6tH9AFdFhMpJT5beA4Zhg4FfjsYT4ZKzuLEUn6eLb1vxqXCCHqnJst6lI33uede6i9wEI3tJaQj1yi8tZxrNzuOSQOAk/IhO+h0mh8H2sPUCfKvVthhkv4UDIIA7X8fV1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hn4fpWYIv14ajTz0ApsVQZi36hD9I/MbN9CenVZgnQc=; b=R4W4MQ7VehR6TMM/jX6mydK/TZSf1v6QjqY6+kiGsnh6f3+d3r61arMq3oqWMkRofKWTkbRFEdjBi6v5gCzcDjYNX111DI/hg3zH8refRporuxn4ZyrPrAgZghKdSjUaVlD/Q460sBSdK53J/liwFk00EYsJ/xBDlsrvyRxH5UY= Received: from OSBPR01MB4600.jpnprd01.prod.outlook.com (2603:1096:604:7e::12) by OSBPR01MB4773.jpnprd01.prod.outlook.com (2603:1096:604:7a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.30; Fri, 9 Jul 2021 08:32:50 +0000 Received: from OSBPR01MB4600.jpnprd01.prod.outlook.com ([fe80::8cd6:d0ec:739d:5284]) by OSBPR01MB4600.jpnprd01.prod.outlook.com ([fe80::8cd6:d0ec:739d:5284%6]) with mapi id 15.20.4308.023; Fri, 9 Jul 2021 08:32:50 +0000 From: "nakamura.shun@fujitsu.com" To: Arnaldo Carvalho de Melo , Jiri Olsa CC: lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Ian Rogers , "linux-perf-users@vger.kernel.org" Subject: Re: [RFCv2 0/7] libperf: Add leader/group info to perf_evsel Thread-Topic: [RFCv2 0/7] libperf: Add leader/group info to perf_evsel Thread-Index: AQHXcnn/wz5qoT5DfU6ga3rhnp0lbqs3mQmAgAA7bACAAATkAIACeqw9 Date: Fri, 9 Jul 2021 08:32:50 +0000 Message-ID: References: <20210706151704.73662-1-jolsa@kernel.org> , In-Reply-To: Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Enabled=True;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SiteId=a19f121d-81e1-4858-a9d8-736e267fd4c7;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SetDate=2021-07-09T08:32:48.985Z;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Name=FUJITSU-RESTRICTED;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_ContentBits=0;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Method=Standard; authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4fa0cd37-235a-4b5c-dc18-08d942b4235f x-ms-traffictypediagnostic: OSBPR01MB4773: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uJmNaqrNMLoP0ZKoQm2pwH6E9PAf33ZZvPvn1QWpZ4JLKfR6PuOADHOlYeDK5uOLktkldIxx6mHu9se6XYWPhXz8TwLLgie+QEMxTZpDP/xyTlYPKJBWhEVtNdW+4dvBQypgweoamUsCmSIjAMGZs75/KSlu6OTZakYPARVDrjYwIQ5jrNXqSf3J55LFPiu9j6KKOq96uL1OCR+e685vlRC5lmZdb9nlSHnylvAW6hvIWg41bvK/n6JRp39mQmy+/05MURht9OF4mk46gndNLwA3nyNgIdEsqUnRbcANXAx+ZW/9WBQj6+0RvRDQiqfnqStfmBENiH5BEjYypDaGrA4OgOHi/oP6RDxeZdtoHTBPrERELfepC2lajeIkCyFBsZw+GuDYH8YkAoWmbpVKDpXGKWYpM4JYAfVfbiTbBlnLl6qw+Q2RXu1Xlopy8Be6z7uN+u8DS3K+nFbdi1Swk23oWPp8j5Kuocf2OkuHFfQg8GIhjKe6F2cYP6eAHK7Snq6Wte3UQINqfOTHhr8jMN7cOi32uu2uL74D6AzXdOuygM8UcZXuPemjAi64ksBGpaBYO50xoBsILJJ3LsSgOc2sOqHaP5a+QWPL2USjFUMUdOAufbSNdn/h/0cIPtDOXvFpJEqB/BC5OyJYVXIaDBxlueSs8fjuEwJgbUzZ0j6mMnB26z1Q61kFUckgC2cGJ4SOJpmsi/DfglvXfBNTbcMQOoPTp9oT/sOtijJ3Tp4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSBPR01MB4600.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(39860400002)(366004)(346002)(376002)(136003)(5660300002)(8676002)(4744005)(7416002)(122000001)(9686003)(52536014)(38100700002)(55016002)(478600001)(86362001)(83380400001)(85182001)(6506007)(66946007)(71200400001)(7696005)(33656002)(186003)(76116006)(66556008)(64756008)(26005)(66476007)(54906003)(2906002)(66446008)(8936002)(4326008)(110136005)(316002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?U2ljTDVEcFBTdjlaVVFmZkYvbXhRRjYwWGpWbXVXTUV1TTd6TnpoMm5m?= =?iso-2022-jp?B?MVJ4YTdkWVp3K0RWaExzcDR2bFRtUXgvVW44MzM5WkUxSGhOQTlLSUNS?= =?iso-2022-jp?B?OTdMZ2FoaW45Q3ZxYWtGYUpUZVRGL05SNWhrOUhTYmVESFRQY0tXQTBl?= =?iso-2022-jp?B?NFVMSDZwcE95cHRTV3dvdy9sVjY3UmM5cXRqYWFrOWlVT1VLQ2VwRVIr?= =?iso-2022-jp?B?L244UTd5ZEVSVkx3MjVHWFJOeDF4SHpxUnE2V3JKRjBMYXFFeGl4V2JX?= =?iso-2022-jp?B?NkZueFZJSHhkVG4yR2FzT2JGL2hBK2M4alYxRWNTQnBScWJWa2h2UWh1?= =?iso-2022-jp?B?SzJ5MHNmZ3BVM25XcmlsM1dRQ3VGS295OFNNak5uN1hjckVhZXpZSUhU?= =?iso-2022-jp?B?dndhVGRmM2lLWjVENmwvcXRWdGhxcWY2eEZISlV0cTVIeHNoVVQyb014?= =?iso-2022-jp?B?VlhJQVFmMmkzcWxPZkRuT1RhbkdHQktQMTA5TTZJdENLWDRaNTJZZGdY?= =?iso-2022-jp?B?T1k0VUxkdElhSm9oQTBQYmRZL0FYM0ZYTDFneWtvZmVOYkNwN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OFhmT2JBNWkzUnBVMjZLNTB0aGtr?= =?iso-2022-jp?B?MFJQYnZOY3FOcTZ2M1hoaE9uM0diT2N2U3RIZkJaajVpYkJ1VTZnUWYx?= =?iso-2022-jp?B?LzFsL0tPL1VVVTJ1bGVhZS9Nd0VjOHN5b0NmNDM0d3ZqeFZ6WGRZYzli?= =?iso-2022-jp?B?YWg5bFJ6UU1LMGt5blNrOGhqeEVJVUkwUGF3Y3ovMU8wT0sxNDFqRWU0?= =?iso-2022-jp?B?b2svUllCWlc2L0lEZzdkaGg2SVh1SXU4UUx4K2NkZW1GbUQ5Yi91K1pP?= =?iso-2022-jp?B?MFRoU3ZmS1lXQkN0TVkzNm4wNGdjZERrWHk5V3RYSWxZakdTODNNakpT?= =?iso-2022-jp?B?Y1RzV1BMWVJLWjhmbUJ4U2NLU3F0ZGtjRld1VW11VGI0Y3IyTjRkQ0tt?= =?iso-2022-jp?B?OVRIS1RhVVV0OWc1ZVhVMy9vRS9ZPQ==?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OSBPR01MB4600.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fa0cd37-235a-4b5c-dc18-08d942b4235f X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2021 08:32:50.4257 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: alIWKooMasVNIDpsvRmETRCzRa5l9tahejbm9fEGQ140VCLRWaCXe36AGkSPQUcpHDhtNCDzqp68kNZdaWK9AGHrZXrYqUp6ycwCMij6DWo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB4773 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiri, Arnaldo=0A= =0A= Thank you for posting a patch.=0A= =0A= > Its all in tmp.perf/core, but from what I saw, yeah, he requested being= =0A= > able to have a group leader.=0A= > =0A= > Nakamura-san, isn't that the case?=0A= =0A= Yes, that's right.=0A= =0A= With these patches, I think we can use event group to register multiple =0A= perf events, just like PAPI.=0A= If I find any problems, I will point them out.=0A= =0A= Best Regards=0A= Shunsuke=