Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3048971pxu; Tue, 8 Dec 2020 02:01:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvJ9KAqa3/ntZpQ6YqyK1I5rcx0hRu2cECJS40VCSWl5Cnhp0G4Mn7h23SduWivGug+sdz X-Received: by 2002:a17:906:2b95:: with SMTP id m21mr23074960ejg.134.1607421687325; Tue, 08 Dec 2020 02:01:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607421687; cv=none; d=google.com; s=arc-20160816; b=YxMDjMgQbTWTyRwp9WcKLrLfk8FngjPSuRPC+2LFUwA5g12663YNvt993iz+EkDQJD rTdUF33HeF5xegepg/J1XJfp5AetTJRHzZLZxe/XPVJ8iWqgOF4643eu9s2XpRxzxCGt RBDI65U0AmTdcci71O2OhEkwvel5oPnQ/+9fPGVQ5hGZViHEf68ntsX/BDRnQ2maB6QM RaGBWitw5NsrVSMERMyVX+OtII6IsM14mnCqAAuIVnFvsGh7dcTijSHcYLM1k6oqmuW2 g6q289uKEwdIvJPyH3IILjiHjnvBzI+4WG4hIgk7xTxWyM4XA7XjfF5sE9vfb6xFafRm ChSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=1VsZbVl9DIEzJB74W06iyXr2yv2GRJn5pEtucpPTPII=; b=BBZ0jUQxW7vLJGJqYL7txiO/uBo0dbk7Kf6xAbQKM3ZOupLXm4hDGC/14bipFUMskQ GTT4f8zj8C4lscwCU8Rbrvva4psgB0Wy2bx1PZPbyZ0Dree3IrKr24s8/y1ov+1GaK4O xyAcFwZh8LqofXYy6aGJPfaEjHGniggKI9BdSq5r6inl7BhIX1noh8nt/+8WC2+UZT8O s0+WsD5+H+AR5VBx3Faieg6834/a4ywHhSAUHRX3Z9fr1xOmReFaRrBCcMT7wBt8Q6Jq 25A3FSS/qwjxae1krMJsmS8Twu7bxX/0knWKWKXPn5Ff48y5a5AsqmFBGPk//DTXJjzC 1I1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="X4a/tui9"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co17si9874080edb.518.2020.12.08.02.00.57; Tue, 08 Dec 2020 02:01:27 -0800 (PST) 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=pass header.i=@samsung.com header.s=mail20170921 header.b="X4a/tui9"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728781AbgLHJzq (ORCPT + 99 others); Tue, 8 Dec 2020 04:55:46 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:33046 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbgLHJzp (ORCPT ); Tue, 8 Dec 2020 04:55:45 -0500 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20201208095501epoutp04f8f4ba9eba07a5649b3d5b14eca98cd4~OtShbhP2v2291222912epoutp04t for ; Tue, 8 Dec 2020 09:55:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20201208095501epoutp04f8f4ba9eba07a5649b3d5b14eca98cd4~OtShbhP2v2291222912epoutp04t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1607421301; bh=1VsZbVl9DIEzJB74W06iyXr2yv2GRJn5pEtucpPTPII=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=X4a/tui9tN3+is5LyZBjybej28e56uQuGryWwYoWFdONzkibad/62nmaMnS3v3v/N Vn8H0DywPvFPSHJB+ydI2WkVlaH/IuLabUGPrh0sZbs6Ww5tgtcsqjOJI6FOiCufhr vfLZ6O2nZ21TkMts7iU0UZv4AYXHLCjef1XtCgtY= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20201208095501epcas2p35b586b579f6767fa2af995fc82293b51~OtSgwJHSY2313123131epcas2p3_; Tue, 8 Dec 2020 09:55:01 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.40.183]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4CqwX30msjzMqYkh; Tue, 8 Dec 2020 09:54:59 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 5A.72.56312.27D4FCF5; Tue, 8 Dec 2020 18:54:59 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20201208095458epcas2p2a7f07ed67737a2b9e3126cd8c1c2578c~OtSeXFn0R2415924159epcas2p2y; Tue, 8 Dec 2020 09:54:58 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201208095458epsmtrp24a86b8a8c09fbfa6174fede0593294ea~OtSeWKoD42500725007epsmtrp2Z; Tue, 8 Dec 2020 09:54:58 +0000 (GMT) X-AuditID: b6c32a46-1d9ff7000000dbf8-a9-5fcf4d726924 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 9C.5E.08745.27D4FCF5; Tue, 8 Dec 2020 18:54:58 +0900 (KST) Received: from KORCO039056 (unknown [10.229.8.156]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201208095458epsmtip229d729032a78302fe8fe45b9eb75ecc4~OtSeDghvG1946519465epsmtip2a; Tue, 8 Dec 2020 09:54:58 +0000 (GMT) From: "Chanho Park" To: "'Jiri Olsa'" , "'Namhyung Kim'" Cc: "'Will Deacon'" , "'Chanho Park'" , , , , , "'linux-kernel'" , "'Mike Leach'" , "'Leo Yan'" , "'John Garry'" , "'Peter Zijlstra'" , "'Ingo Molnar'" , "'Arnaldo Carvalho de Melo'" , "'Mark Rutland'" , "'Khem Raj'" In-Reply-To: <20201207132840.GA4070632@krava> Subject: RE: [PATCH] perf arm pmu: fix build error on MUSL libc Date: Tue, 8 Dec 2020 18:54:58 +0900 Message-ID: <001001d6cd48$303a8810$90af9830$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQL9yUid8Wz8jDy8suCkHfvhsfGAdwJrg0gYATsEmCsCM/My1AK/Az8hAumiFLSnQuOvAA== Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDJsWRmVeSWpSXmKPExsWy7bCmqW6x7/l4g3/HGS267u1gs9i1i9li 0/4mVoujZ/8yWUzeeonNYtPja6wWl3fNYbNYev0ik8XWPQeYLD48ms5ucenAAiaLpmVbWSze v1/IZnG8FyjRdn0Wo8XM27cZLVrumDoIeqyZt4bRY+esu+weLUfesnpsXqHlsWlVJ5vHnWt7 2Dw2L6n3uP3vMbPH+31X2Tw+b5IL4IrKsclITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0 tDBXUshLzE21VXLxCdB1y8wB+kZJoSwxpxQoFJBYXKykb2dTlF9akqqQkV9cYquUWpCSU2Bo WKBXnJhbXJqXrpecn2tlaGBgZAp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: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20201207105410epcas2p3f9210689886172422d27870f25a79df3 References: <20201206144527.1670483-1-chanho61.park@samsung.com> <20201207105359.GA4198@willie-the-truck> <001101d6cc90$3b491310$b1db3930$@samsung.com> <20201207132840.GA4070632@krava> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Namhyung and Jiri, > -----Original Message----- > From: Jiri Olsa > Sent: Monday, December 7, 2020 10:29 PM > To: Namhyung Kim > Cc: Chanho Park ; Will Deacon ; > Chanho Park ; mathieu.poirier@linaro.org; > suzuki.poulose@arm.com; coresight@lists.linaro.org; linux-arm- > kernel@lists.infradead.org; linux-kernel ; > Mike Leach ; Leo Yan ; John > Garry ; Peter Zijlstra ; Ingo > Molnar ; Arnaldo Carvalho de Melo ; > Mark Rutland ; Khem Raj > Subject: Re: [PATCH] perf arm pmu: fix build error on MUSL libc > > On Mon, Dec 07, 2020 at 09:31:06PM +0900, Namhyung Kim wrote: > > Hi Chanho, > > > > On Mon, Dec 7, 2020 at 8:58 PM Chanho Park > wrote: > > > > > > Hi Will, > > > > > > > Looks like other files just include this unconditionally, but have > > > > a comment explaining why. See util/branch.h and util/event.h. > > > > Maybe we should do the same for util/pmu.h, which is already > included here? > > > > > > I found below files which perf includes . > > > Instead of doing same for all, we'd better put this only for > > > tools/include/uapi/linux/perf_event.h. > > > > It's a copy of the kernel header, I'm not sure we want to add something > there. > > right, we want to copy that directly from kernel uapi so let's not do any > changes in here > I tried to modify it from include/uapi/linux/perf_event.h but it didn't work. And then, I found perf tool tried to refer the header from tools/include/ directory. I should go include/uapi first and sync the change to tools/ directory. I'll re-spin this patch. Best Regard, Chanho Park