Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1927103rdb; Thu, 7 Dec 2023 12:42:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZaxXnoFDS7DvVNvexAfs/uf/klUIWqt3ymouoGbRISTPNvM7PiN4PX325JlDtKk3JMPgW X-Received: by 2002:a17:902:ea86:b0:1d0:6ffd:cec3 with SMTP id x6-20020a170902ea8600b001d06ffdcec3mr2828182plb.124.1701981747030; Thu, 07 Dec 2023 12:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701981747; cv=none; d=google.com; s=arc-20160816; b=h6Dl49IfxD2C6YdGAjR82eH/iQ2QkVvsyx8/5zbAiEr4Xj5zw0sWraoHd5n0O/Q/6n jo4LnoBavAK6RbyGLrgt9tAkrQ0RYRBnzRmvIZLgbcGIN/nxgZDtt/iKRCjDWZ6P0gj9 VWKnzuJ+gxfqrn/aR1aydgG5SNwvWunQ1Psq0kHkeddirte2jApVkAUybp/+WfyiozcB chJlBKcgmvMtbZNFS0Zzwoe/skpgJPm1ViovJ7Yq01J3jxNsmEpYw0wIhdZg5Us0zym0 JCZo2eKSc3t0peEdXmtkyDDYw6cD9M634/cTL2JgZQ8UYoVceXSQFkJUl4Qcd9xBWpln b+9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=h+dke1744yiZ4hbThU6m+QGyAPThyjLA4OIzEOZGE1Y=; fh=4Kgt7kDtVrIXe4cKNywMQAY7jLnutXL9uOkaTa5MrMg=; b=B0TBh7RgdgZNQxaahoHRIP6D/zhKhqaKdLLt/y+AlOrBHdJUZLQ27nGmlB8tuVAGSo U8DthMqvrHcT6NWYYUwBKHLMvAwLwLZlUJ1uxaruH+sjeUZfXscyo/Q384UuhPCWDstT l1bjbOXJIEa80j7g6L1WqSQvPRH21fewpqba6Xc5sEWaqfpbUaOo9hVgfk3UjaXh25Eq QYAxYcawr7buadF1IU2YSw/99LOfcRLNf5IaZGbJ+LhqliE//P905/hWNE26aGM0rD5a jjJHohfuOU5eWu9WQym9xFr+BMVO3mBy2oMnpfIUUsAwxGjkBSCjsLRxX+TeqXXtSgcs +GGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id r7-20020a170902be0700b001cf5cb58df6si312364pls.73.2023.12.07.12.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 12:42:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id E97CA80FC14C; Thu, 7 Dec 2023 12:42:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229541AbjLGUmI convert rfc822-to-8bit (ORCPT + 99 others); Thu, 7 Dec 2023 15:42:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235586AbjLGUlU (ORCPT ); Thu, 7 Dec 2023 15:41:20 -0500 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B6651727; Thu, 7 Dec 2023 12:41:26 -0800 (PST) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1d048d38881so10401735ad.2; Thu, 07 Dec 2023 12:41:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701981686; x=1702586486; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ertAQ/XyfkeiqVhWFyijagBt3DCkqglpo69jMsd5dTk=; b=ItEK50E1AKumUVx5BcQZMqxloiP/7Vx0fZgFc4HawyywdmN1eDf/MbPnulaRCOurQb 8/lCRDmsT3h9x5/6+TeZTEymDJRsOiEsnwuEJ+QhueXZ4muev2q3AvVN6WABm+lSVNN4 Rg6j6/SKWb9krRiYc4A/kYDd4dshi0YRCHOxFPFWyzja7eGEZL3LaJTBGw3JNbzY4L4s gipFiSbilfgDApEzoE6F+I/FJmd+0boBk87+VAVEOMU2QVV7Y/sbAap9DgA0KOmWEWEt 9Om+OeymCd/i9Sizf6atrmKf/QIE9tBsgkdAFX58029l2+/WubwC+2poFrfNW/s/DesH DfjA== X-Gm-Message-State: AOJu0Yx2hqhD0/b7oyi/HxAaZXesdsrmK6GEKOIIx25AorCS0kMkJJNP LDJG/GJmNhbmHKHfbMKQPrCWdIecCD6XfmR2lx2hc5RBv8U= X-Received: by 2002:a17:902:ea86:b0:1d0:8d57:47c with SMTP id x6-20020a170902ea8600b001d08d57047cmr2943727plb.25.1701981685734; Thu, 07 Dec 2023 12:41:25 -0800 (PST) MIME-Version: 1.0 References: <20231128175441.721579-1-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Thu, 7 Dec 2023 12:41:14 -0800 Message-ID: Subject: Re: [PATCHSET 0/8] perf annotate: Make annotation_options global (v1) To: Ian Rogers Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 12:42:24 -0800 (PST) On Thu, Dec 7, 2023 at 12:14 PM Ian Rogers wrote: > > On Thu, Dec 7, 2023 at 11:52 AM Arnaldo Carvalho de Melo > wrote: > > > > 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 > > Maybe a signal to remove the gtk support :-) +1 Thanks, Namhyung