Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2351256pxu; Mon, 7 Dec 2020 04:33:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJdMiEG3WHGLo4opXC0tEQ5kZLeNbVhpHqXsYIKJiczvsRpQOD781siFqlz/E2yXeWc/aQ X-Received: by 2002:aa7:d906:: with SMTP id a6mr19995686edr.121.1607344438575; Mon, 07 Dec 2020 04:33:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607344438; cv=none; d=google.com; s=arc-20160816; b=myDwPRqY/Sn+z8aiMjJ3U45a6EobNVyc3oSzmHoECBK/Md5d5sJ8bhSV9AST0TCmUW eNjw5fruXWUgyJo1mfUQqCIH8iobaTI7z+mlaLh7tSKdRA6LIxYpoYJp9ePGy3+ggJhv 5HjYwZnhG/FrHtNC8vpabRs/CVNeGP7krEQmatANoHlHcp9gKZ2XkhxwQOJqK+VYr4yF MLcvLDjnjn5xEME2EVll0rWMOw6WQllUnULTmlxC5xnjODJVkOWGiGYE9zvBpEumlL4F sBMtiTy/QP/ZTtQtjRmRuspoP/1t52Ee5B7wK9zJKddotaTFEwjknEHolqST9pTSnmvP 2C2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=CegbQ8ICiCzl54W3L4/51QGOQ8lnKvui2ZpRWTC454E=; b=ebd91ObWMOBpXzcCeE3B8QLwUWxWtHfpVVRAZixa9525NUqI8/29f+urZpKpR57oeK 5C7fXCTklekf0dbXDgB2e2pOptmzbl+SFl2Z66/PHa68u/UjY+8rALXq4cMVGG12WDkM rUYvlawz21nfVfk07c0rTOY9K2rQfsFGay4mfuVP1QmSyXKTnLWW0ZiZM9BPNfUqE529 ecdxAHPTaDqwpefpsh5OxKG0IXKdduRuiqlX/atcUJoNBb4tCswxBDpKHwpWUz/kBdv6 3L89GfmCdXa3dFHgkKZmWXHqLzKXjDewvS0vetLB0iKIUymjQQHy/kg2WK6KIZCxOG+x eASA== ARC-Authentication-Results: i=1; mx.google.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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si6390721ejy.33.2020.12.07.04.33.34; Mon, 07 Dec 2020 04:33:58 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726769AbgLGMcA (ORCPT + 99 others); Mon, 7 Dec 2020 07:32:00 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43065 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbgLGMcA (ORCPT ); Mon, 7 Dec 2020 07:32:00 -0500 Received: by mail-lj1-f193.google.com with SMTP id e7so4508954ljg.10 for ; Mon, 07 Dec 2020 04:31:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CegbQ8ICiCzl54W3L4/51QGOQ8lnKvui2ZpRWTC454E=; b=cneFBIVU3UmrxRGyq3slaPdFCjF3r/PQQF164qx10v7wg4laNd7xAdOB0K+Kh8tkr4 JGeJ5s7t04AsaCd9iO02NopAC9JBkCdAxW4mtzAxuhHRYcWIuyLfS3I1ZY3DSAFtQwIO MOd39IzABFvKoyEDvz05xM7ZrExwjQW/eDaAniBJiXhX5jFKkEbrnaa52Y7DCi1dbXrL J8It3myjE62+ALJCoCoQ/JECZuz4mNwsWzXp7j4AJWVpTr7VFJSrMTckVpT9yTShi2Lv ix1ysMcZKL5tRBqMa4rY2QwkYLBT0U2epFJonP1nU/R5eqphtoeb4OWekEGFR9HyR6Yt re3A== X-Gm-Message-State: AOAM531bbT2Qr/FZ97yi72DLR2XSd9qMzdmNiiDDiTCgk1u4Zwt48ksD uLx7MApeO6kR6+1kASp3a9ktkA01P4z2XsHiKY0= X-Received: by 2002:a2e:b013:: with SMTP id y19mr8672135ljk.50.1607344278275; Mon, 07 Dec 2020 04:31:18 -0800 (PST) MIME-Version: 1.0 References: <20201206144527.1670483-1-chanho61.park@samsung.com> <20201207105359.GA4198@willie-the-truck> <001101d6cc90$3b491310$b1db3930$@samsung.com> In-Reply-To: <001101d6cc90$3b491310$b1db3930$@samsung.com> From: Namhyung Kim Date: Mon, 7 Dec 2020 21:31:06 +0900 Message-ID: Subject: Re: [PATCH] perf arm pmu: fix build error on MUSL libc To: Chanho Park Cc: 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 , Jiri Olsa , Khem Raj Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Namhyung