Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1598553pxj; Wed, 19 May 2021 09:26:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMShjS1F57lO5BbKU5lC84Y9ZzTFxHBObcT/Q4zRNXxBtLr5JRqy16VamFmwXZ0q2fFGhl X-Received: by 2002:a17:906:538a:: with SMTP id g10mr13364751ejo.243.1621441581683; Wed, 19 May 2021 09:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621441581; cv=none; d=google.com; s=arc-20160816; b=EZw2tAtRv6mMWgD0TiKW/7XIxlEuZaBJrHAlrLoOAgyJ1ckSEYFJIHpmn3X2vH4zeM OEcVQvm+aOx/ueYlscvH112AkrzoD8XSEwnfqrhwf9oOpJ/Ar1CWQ8F/n8R41Nx1VmKd OrWrVlD9L8J47tUoNlb2pP+V8vLjZ76nXEJ89tocK/fHvvxvYttPn5Raaowp8iTjTnKV 5rZRfLGyk3Snga4TYlMhx6tlQ3EUWS6z2kKpC5/3lo1A10spPPGxtesDnviaw4gGeNi6 ooQUvQDhFedmSxh6aEx3c953QxIqvYIQ5zaGQ8wCNAAby1anh2ltxXkrne56cHwsgWfH iC2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=NV/QbBFyqGMU4uhpab0QoU+T3L4fGekeDXWS1jRKro4=; b=KKLJk+stzKISEPT/eIPXElidF7qtXeDugGLo+hkw9pWVxmXa56QfutNT0hbMkaBeDD NtNSYwc3NJvD/4Oc26wl9zno8qDT7epO6ecgMklKKr9z/Sax1bJErb6b6hjNI8Bpslnr XszJXozIQGq6fAwJTArDNxoQjMMTeYvSRSRl53MmLdsmXuVOxuhh4aKBWBXeOV/p/Idv BWr77VJU6AlK7AQHuCU7O0fYnl8z9YqmDbCDqgmCFpsKyhM3NbJ0a31mrVcd9HdxO2MF 8g1IkEj83DHWd9DQQkyxoukYnRj7C7XnHNVhjj5y5Yk7M1SIBtn65JErNmHoJYb7qw5E bncw== 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si175598ejf.16.2021.05.19.09.25.57; Wed, 19 May 2021 09:26:21 -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; 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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347398AbhERIK2 (ORCPT + 99 others); Tue, 18 May 2021 04:10:28 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4657 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347386AbhERIKV (ORCPT ); Tue, 18 May 2021 04:10:21 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FkpVG6RCZz16Pm7; Tue, 18 May 2021 16:06:14 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 18 May 2021 16:08:59 +0800 Received: from [10.47.83.99] (10.47.83.99) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 18 May 2021 09:08:57 +0100 Subject: Re: [PATCH 1/9] perf: Add EVENT_ATTR_ID to simplify event attributes To: Qi Liu , , CC: , , , References: <1621322628-9945-1-git-send-email-liuqi115@huawei.com> <1621322628-9945-2-git-send-email-liuqi115@huawei.com> From: John Garry Message-ID: Date: Tue, 18 May 2021 09:07:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <1621322628-9945-2-git-send-email-liuqi115@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.83.99] X-ClientProxiedBy: lhreml716-chm.china.huawei.com (10.201.108.67) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/05/2021 08:23, Qi Liu wrote: > Similar EVENT_ATTR macros are defined in many PMU drivers, > like HiSilicon PMU driver, Arm PMU driver, Arm SMMU PMU > driver. So Add a generic macro to simplify code. > > Signed-off-by: Qi Liu > --- > include/linux/perf_event.h | 6 ++++++ > kernel/events/core.c | 2 ++ > 2 files changed, 8 insertions(+) > I think that you need to resend with all the maintainers for these files included. Thanks