Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp595825pxb; Thu, 21 Oct 2021 05:57:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2T2Bng1uRx/S+xt2Cp8U2GOtu3iU1ITW4dB0aib5BzHvqczAGCUlABLmFrv1lpNtwkyLR X-Received: by 2002:a17:90b:4c12:: with SMTP id na18mr6566117pjb.205.1634821033791; Thu, 21 Oct 2021 05:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634821033; cv=none; d=google.com; s=arc-20160816; b=WEMG81YAMCKyyKQWyx3Dfku0nxRvfUWPrGsAbpl5IhtPKgBRwMOLWczX5eHStVsrdV pw425OMiQWdODayZLJBWtD+ZD9sBSmdnaW1aY4VQ/4Yl6I/0Am3G3PlwF3yrX27Vt6Ol vwYS0618CtsfToKVShu1y8z27TfCj+3uRSm56LN0MG7PL//DMn2vmSyIYqHGsvGM0ytV fqGAiVSw8hVvRxTDbmTY3tzKQVgjqa+F66ZkqmI/GlJL3xNitPn0oJLE6ubDY3U0mTLt s03lHscDL7qJPokXfztzn7ZVYKPZ4FJnUl1DE4/aT+PyuOfxAR6mUDGCgcpPingg9/nx FLmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3uypUOtGyzlxOKGYZA2BiPdjifNRaTNcyZGFEKQTa9U=; b=t9VUy+1vrVLY9gtk52sW/OMe7kms1MF+OHF+C3dJCeuC6m+s+2u6/OVU/ommtLiCUX H7FMMnTpr4u5KVomO+cW1QYGsRlRYmwFsMfXXPUEProPA8Oou97i15H5fu7xYrT4bQat Ljzj/8uu/C/sAJkqaL5YT/c2TeSOwP9v/tC08ClIZipyR4OokzovIOABfDcpzqqmlYo3 W/GcSGvN0wkde/o85YJTyvOdnuBmi1ducCXhiZOy4SvTwNTEzHWEdcaZqa4841AdnDMN m64g/9kv/kdmnjwn84SAAB8qCDnHf4ti9/AbiGeYqgaAOQc+DmU02eHWsqEAyJry4CYJ +hrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mTfaocJn; 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 b13si3514370plh.181.2021.10.21.05.56.59; Thu, 21 Oct 2021 05:57:13 -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=pass header.i=@kernel.org header.s=k20201202 header.b=mTfaocJn; 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 S230374AbhJUM54 (ORCPT + 99 others); Thu, 21 Oct 2021 08:57:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:45262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbhJUM54 (ORCPT ); Thu, 21 Oct 2021 08:57:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 395996120C; Thu, 21 Oct 2021 12:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634820940; bh=GstFJ8LhXpiPXIilQcDxhxzvgCjvc/lCyExitImucSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mTfaocJnNY/RzyVKr5tnSpzAmDq/HlUAeSbd02LSPEKFiV26TITv5nZlolgj/a1WK 0z4ZDPrc26X/E1hCwL1ScHNRRejNlBoa7WfuwBeIIsoWDZ2zbkl5f7jZI0bxnW+Xj9 ojMbhIocWZ4wMk32dZU14JXenO4hqaSz0J9eyR7IC/PVuiFzYlTqxI1LaSixTk2c/M /CjYodVprkRf9ixNmT4ujxjX9u/mFrlRQA08A/ilUBqy1o09c3a4XyiwhPw2J4M4Al UTrmkBEdb6BCXmohEKPAnFB0RMnh4t2e9RBUAIo6qtvqkpqs8r0HSfJuomIuJoNdBf k+Zz2t0c4ZR0w== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 8B3CF410A1; Thu, 21 Oct 2021 09:55:37 -0300 (-03) Date: Thu, 21 Oct 2021 09:55:37 -0300 From: Arnaldo Carvalho de Melo To: John Garry Cc: peterz@infradead.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, mingo@redhat.com, irogers@google.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, kjain@linux.ibm.com, james.clark@arm.com Subject: Re: [PATCH v2 0/2] perf jevents: Enable build warnings Message-ID: References: <1634807805-40093-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1634807805-40093-1-git-send-email-john.garry@huawei.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. - 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 -- - Arnaldo