From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1A13C4167B for ; Thu, 7 Dec 2023 19:52:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443831AbjLGTwR (ORCPT ); Thu, 7 Dec 2023 14:52:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjLGTwO (ORCPT ); Thu, 7 Dec 2023 14:52:14 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55D6EA5 for ; Thu, 7 Dec 2023 11:52:21 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B75ECC433C7; Thu, 7 Dec 2023 19:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701978741; bh=mbc/iuLtD8dfCRev1lXPOrNzkAar0/fIcJRnERdFfIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LnBBcxt+T/FbexCwnL4xPBnb0UqNrwMD4tRzSXMLvI6QfnQIBLxcBs5fve8nuy1+S OSuYEMGauWPmMwDATH/cgCAvLwic5xCUt/JHsOwOt9aBwxdt5vsqyQujV2bBCbcaeO 9uOjCguEiKxDhXbrMx/LbnBp57cXNyOW2KZB26u296oYUqBtq7+AwGPWiGmqzUPtwI Gj91ncJ/UYtA2RYmJILWnI7EMb+dreTIvuWgBpq99zLsOXDlCZVOgcTTxNIkwKGBSN HduANwSSITKLUAcERcaOjKcUkBNn9HExtVHSkVFAM1hmDeeihBSRXahQnu1xcLbkLx b48wXRlNd+6Og== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 13641403EF; Thu, 7 Dec 2023 16:52:18 -0300 (-03) Date: Thu, 7 Dec 2023 16:52:17 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Namhyung Kim , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Subject: Re: [PATCHSET 0/8] perf annotate: Make annotation_options global (v1) Message-ID: References: <20231128175441.721579-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Dec 07, 2023 at 04:50:30PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Dec 05, 2023 at 09:59:02AM -0800, Ian Rogers escreveu: > > On Mon, Dec 4, 2023 at 2:46 PM Namhyung Kim wrote: > > > On Thu, Nov 30, 2023 at 10:37 AM Ian Rogers wrote: > > > > Sgtm. My point wasn't to criticize, I think this is a good change, I > > > > was just trying to imagine doing things in a way that could overall > > > > reduce complexity > > > > Yep, thanks for your review. Can I get your ACKs? :) > > > For the series: > > Reviewed-by: Ian Rogers > > Thanks, applied to perf-tools-next. Now trying to fix this: CC bench/numa.o CC tests/hists_cumulate.o ui/gtk/annotate.c: In function ‘symbol__gtk_annotate’: ui/gtk/annotate.c:179:43: error: passing argument 3 of ‘symbol__annotate’ from incompatible pointer type [-Werror=incompatible-pointer-types] 179 | err = symbol__annotate(ms, evsel, options, NULL); | ^~~~~~~ | | | struct annotation_options * In file included from ui/gtk/annotate.c:5: /home/acme/git/perf-tools-next/tools/perf/util/annotate.h:376:36: note: expected ‘struct arch **’ but argument is of type ‘struct annotation_options *’ 376 | struct arch **parch); | ~~~~~~~~~~~~~~^~~~~ ui/gtk/annotate.c:179:15: error: too many arguments to function ‘symbol__annotate’ 179 | err = symbol__annotate(ms, evsel, options, NULL); | ^~~~~~~~~~~~~~~~ /home/acme/git/perf-tools-next/tools/perf/util/annotate.h:374:5: note: declared here 374 | int symbol__annotate(struct map_symbol *ms, | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors CC tests/python-use.o CC trace/beauty/sockaddr.o CC arch/x86/util/topdown.o make[6]: *** [/home/acme/git/perf-tools-next/tools/build/Makefile.build:105: ui/gtk/annotate.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC arch/x86/util/machine.o