Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1901505rdb; Thu, 7 Dec 2023 11:52:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzWIroW+QpmR+EU8B/9QwHEDptx2HcvRbL471ZM60j+pgTgRzja3lwSptLbOeduFsHvoxg X-Received: by 2002:a92:c685:0:b0:35d:7ac7:359c with SMTP id o5-20020a92c685000000b0035d7ac7359cmr3274548ilg.40.1701978751836; Thu, 07 Dec 2023 11:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701978751; cv=none; d=google.com; s=arc-20160816; b=MnOZuBo1gMsg2MwhTI2TTTNf7IA0pYL5igbBcizhKue/enR6o4qjJxnabonZniQ3Pq uh2v2qi9A8kgEsVfqYtgxY/YsgHlG3d4pF24jDDM1aG2KybFKmQV9rSVBPrH67qXGz7T /S39F5rKb599et1U16CUigLUX2Dp98o5+zqiLL+B3cxdgi2+bRI1g6WTxJTz1Jt9gSk0 af7FN1wSydKtLNp5b+YNNgxkvtAhof/jCqeNv3irzAO+MzmEytrTThy9kv+MYP3j1kMl EtTeo5MKkvhZGFeHIG4zPEaVikukc3r6W2JLgjnt92Ds0pxOEM/yETiXgXAAdeBqakc/ 5D+A== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AmQXoZ82DsCMKVLstNbQXRtIZ1b62tw0quFdNRJl4zU=; fh=RkFWm3C9tQ5E9ZPYAXZDSLTrdqRlfLSx3Z/0H6w0Ryc=; b=IzDJXagpb35STnhQiFzEgjHJ8W8aW8wd37OJ8rK07Bk9N9UD63Z2e5s/IWnRsdIjbO DBsrr5Ktmo1qCbaTzPms7ZqvHaVAPI3UUmBIUfm/lTUAn9M8UIKR2Kvdp69N+og8AcZ/ 7+aLdYC+WoeVn1s9gzOxuH36CRpIfAQ8GpOb9sBHRyWtcPUFTkdr2jn3oYQGwVvu4Gbb Cv2DwtzevIhahq6gBmJQxnM/jrRD//HreDW4aRxcDocCfrWvR5rTr1B62J1+D83izKfL +J+4gGW4+2iAaPCiNRwQNZup8BbGQ3YePRCM2me/Ed6YdnrOfaRoMzFQgmpg4o6d08CH hUWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LnBBcxt+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id e3-20020a656483000000b005859e22461csi192063pgv.817.2023.12.07.11.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 11:52:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LnBBcxt+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 994E78326690; Thu, 7 Dec 2023 11:52:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbjLGTwQ (ORCPT + 99 others); Thu, 7 Dec 2023 14:52:16 -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 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 11:52:29 -0800 (PST) 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