Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp602680pxb; Thu, 21 Oct 2021 06:04:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+XxZPD5NSX1eOzNN85zjQB2nXZ0i+B0mkrOki3WLChDjHhLg+0rD4YgVG1mr5sTZJLvDY X-Received: by 2002:a17:902:d50f:b0:13f:ac51:29b4 with SMTP id b15-20020a170902d50f00b0013fac5129b4mr5044668plg.51.1634821465938; Thu, 21 Oct 2021 06:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634821465; cv=none; d=google.com; s=arc-20160816; b=KXwNVB5fv+9LLhYcHmPNMsIw28bpTma4roPMNr06ytKvknfk50VHK4i2j5ohEoCAbh pHtukwZ/1/+Gm8HA0AxTnw5k9pnMWS1kppztup2xFGJ+P5nww/9ZhzG17M2YaLJsoG4/ 3hDMuD2vVMUUWkML2QscJkr5kEwEOSHvXg6ZdAxCjAhr+T1ppYY/QMjkBFU2zWB3iUn8 kMOkUh5MQGDMky1fh5TkkU3MtexbDcWUOKbW6S351fuJxsdkfaz44U6HmW5kXA1fuSqi O2GR94jojMr8kKq5q9zl5974qp5izscDALzKsGmRHh+GLuZAnMBSzK6KtDCpvWIp4ewM Qd8g== 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=edlyMWENU9RAoRx/0norXor0NeTHW8/wHcwBRZBCi5w=; b=R21tne6TA6NL+1WK9NP1JCbJA2SfdBtC1+IjkOx98kODY6UZFJw/UHxp2671rcS60c uI+6Alb6iwYSjNaoKvYwOPdgFmNgFG1feHXAto9ZQ0rVej59RcukAHopd/S92SAY/lKv HXsouK32qj2X6ZC+TMQzLcMvzb1HiYc40H6Jpj2LrYawlsviOIHwb7kDuRCLO/ywp27e MYBm2i7FbzIvUettu6VtJ51ieA2iajqJOtpt7+VxUwdQv1V7uSGwbeKVQbGPQMYABp6Y 9wx6T3JGFEH8gOYLu+6+KsH8uOtS1O6iBoUXjks6ZAnGA0/7FzFfPPc0OqIdJSyVhMsT QAPw== 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 q7si3622798plh.224.2021.10.21.06.04.08; Thu, 21 Oct 2021 06:04:25 -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 S230181AbhJUNFC (ORCPT + 99 others); Thu, 21 Oct 2021 09:05:02 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:4016 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbhJUNFB (ORCPT ); Thu, 21 Oct 2021 09:05:01 -0400 Received: from fraeml703-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HZncn4yNdz67jnC; Thu, 21 Oct 2021 20:59:37 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml703-chm.china.huawei.com (10.206.15.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.15; Thu, 21 Oct 2021 15:02:43 +0200 Received: from [10.202.227.179] (10.202.227.179) 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.2308.15; Thu, 21 Oct 2021 14:02:42 +0100 Subject: Re: [PATCH v2 0/2] perf jevents: Enable build warnings To: Arnaldo Carvalho de Melo CC: , , , , , , , , , , References: <1634807805-40093-1-git-send-email-john.garry@huawei.com> From: John Garry Message-ID: <9075dc5c-25a2-c977-a1c2-675e972115e7@huawei.com> Date: Thu, 21 Oct 2021 14:02:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.179] X-ClientProxiedBy: lhreml717-chm.china.huawei.com (10.201.108.68) 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 21/10/2021 13:55, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 21, 2021 at 05:16:43PM +0800, John Garry escreveu: >> Currently jevents builds without any complier warning flags enabled. So >> use newly-defined HOSTCFLAGS, which comes from EXTRA_WARNINGS. >> >> Changes for v2: >> - Add Werror, Wall, and Wextra (James Clark suggestion) > > Thanks, applied. > Hi Arnaldo, Can you please wait until I check the review response from jirka? Thanks > - Arnaldo > > >> Baseline is acme perf/core + mainline commit b94729919db2 ("perf jevents: >> Free the sys_event_tables list after processing entries"): >> >> 680453e63302 perf jevents: Free the sys_event_tables list after processing entries >> be8ecc57f180 (origin/perf/core) perf srcline: Use long-running addr2line per DSO >> 2b775152bbe8 perf tests vmlinux-kallsyms: Ignore hidden symbols >> >> John Garry (2): >> perf jevents: Fix some would-be warnings >> perf jevents: Enable warnings through HOSTCFLAGS >> >> tools/perf/Makefile.config | 5 +++++ >> tools/perf/Makefile.perf | 2 +- >> tools/perf/pmu-events/Build | 2 +- >> tools/perf/pmu-events/jevents.c | 10 ++++------ >> 4 files changed, 11 insertions(+), 8 deletions(-) >> >> -- >> 2.17.1 >