Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8935193rwd; Wed, 21 Jun 2023 00:22:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Ede0H3yfTht8QJA17vZf2+HKDam+DRkYLSVMI++c2eYSRdsGuQ3tLDa952mnB1+GkupzL X-Received: by 2002:a05:6a00:1804:b0:666:ada0:4b01 with SMTP id y4-20020a056a00180400b00666ada04b01mr6092840pfa.32.1687332170350; Wed, 21 Jun 2023 00:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687332170; cv=none; d=google.com; s=arc-20160816; b=HwSZf0KE2E+fP8lpPsBCa4m7p9tvY1JhYfCjOswCyAuB9yF1HgRuypDwheccxIoNsF 5S993/Y+k43ATBkSxe6S1nSEarQ9SWcVvFkVMDfBh4J3ISSK1qi1IR/ueTprV/o8HUN0 AN+kCXh1R5yS8rgH1GDzCOPJCWJdlRTyTLWlSQvPh32IP1qlF/uMPKTxPIRIJirRHqsN jRsM26zElR8QX2ujfuF8lXi2IooTBYEG4by837/R8KmrO8L2lJ0ztpMGtLcngZpEyLNM LDDaVlQ7eHZ5m+QJ9idrlnfhg4RkgxF3CVmd/IHNBN+HMuK9uM7+i0QZgqI4Wnzi9TPq 9GfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=BtB++6Z7uRp2nCpFPIxo1JwHrDFmcvBxfRdKUwuoqWw=; b=QebHSRC2gaknBoKu2kNR8huFHQ38jLMF+/Hmy55wqVimEnFjjAPryvHXfAiBmbMOcp B4Ct8owgsj/kZghnSkDllb3zgP0PVAePT2POAbnWgIQKeN91SzYAUkeBHppiVyw0XaI8 RkyGiKFNIOIUxqW33cIG33Jmh6/91IdDP6kBCqkixk6kmL6IT0F7tISgaqQfBECAh+iy 6+tKi3d3Tp1qoin8JaTYDwf4rQ1KHUBUrighhgz3W7y1cTu2Ni+6f8/rR9GymMv2QluY 2OZs/6pd92jM8SEqObtr3bP6LSeOCioTs4ZVo1I2RBOF+vTqa1lI82oBaRvka4AwKB12 b5pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=CvgZ8AT0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a056a00218f00b00665dfbf3b17si3978073pfi.264.2023.06.21.00.22.35; Wed, 21 Jun 2023 00:22:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=CvgZ8AT0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230360AbjFUGjN (ORCPT + 99 others); Wed, 21 Jun 2023 02:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbjFUGir (ORCPT ); Wed, 21 Jun 2023 02:38:47 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC6F61FCA for ; Tue, 20 Jun 2023 23:37:56 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5706641dda9so73619507b3.3 for ; Tue, 20 Jun 2023 23:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687329476; x=1689921476; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=BtB++6Z7uRp2nCpFPIxo1JwHrDFmcvBxfRdKUwuoqWw=; b=CvgZ8AT0/FLCeoPngA5QS3EYZKUYh9uzv3Tm/IW6sDQDZtn+30OdFC8FX43ZEZKdEh r0eNvfGu8hUjeAIHhFHlvAgyDDT6UUmxKftbpTqy0mY3thy3X7SGHqSRPAAyaiUyQ2yt yxiVt+3Gw7ZAZCwK2B6Qea5APuWej0VodQ/aRWUlHjp+/+Q6bNeByhnQ01uibf4Xm6nu mwkLrXduorSMRcEi3UWS88pUcxP3bPCMTcbQFaWGotIN477yGLgDk0Tz8TMHdmuKq4Mt M4/EJyLFBlkYOm8E/wz07zukvwSZT0BhUPDvyLok+jqVFw6rt1WQfows7i0xgyJT3dLe BnYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687329476; x=1689921476; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BtB++6Z7uRp2nCpFPIxo1JwHrDFmcvBxfRdKUwuoqWw=; b=LM5iSZqFyJeOIL7hsrmYILGIszbZulpS6kMu2KbcF1K9N6XTQ3RTbnJm9XdqbkrJoJ OzTjNLhba8sXqUuBVZ5+ZVkV1HDVJRc2t7+AgekE5HSCjzhPLM1l8u8Sah+wFHSXEiyL xnJrNElsIu+AOiHQYXd+i0QCGrYa2zw30qpESZWB4YkEHYaWJTw6HNP0hKBdx4ZoMIn4 NxKSYfKE7SXH9vPLfxJULdrWYpTJV3wirjqHlHBHz0slGC+W1qZcHYsLHInDdKXHhz1W pVLOatTYqetVvTLTYdPI37Bj/SA1P9Fn1LPiiMaRj53RTY+RlTbalnmq4i0CR9hAaImu 2Vaw== X-Gm-Message-State: AC+VfDzfNQ9vpBpiTRmy+STFsWC97bVy6OrtN6gKQ790WRwJTUTXrxc2 ICjHlztvc77aHfCxLBd+rraaWCpiYTYM X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:8d1d:a59f:1372:6fb3]) (user=irogers job=sendgmr) by 2002:a81:c60a:0:b0:573:8757:4124 with SMTP id l10-20020a81c60a000000b0057387574124mr1348878ywi.2.1687329475971; Tue, 20 Jun 2023 23:37:55 -0700 (PDT) Date: Tue, 20 Jun 2023 23:37:49 -0700 In-Reply-To: <20230621063749.3358430-1-irogers@google.com> Message-Id: <20230621063749.3358430-2-irogers@google.com> Mime-Version: 1.0 References: <20230621063749.3358430-1-irogers@google.com> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog Subject: [PATCH v2 2/2] perf symbol_conf: Remove now unused sort_by_name From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Kan Liang , Yang Jihong , Carsten Haitzler , Changbin Du , Athira Rajeev , Christophe JAILLET , Jason Wang , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Previously used to specify symbol_name_rb_node was in use. Signed-off-by: Ian Rogers --- tools/perf/builtin-kallsyms.c | 1 - tools/perf/builtin-lock.c | 2 -- tools/perf/builtin-report.c | 1 - tools/perf/tests/builtin-test.c | 1 - tools/perf/util/probe-event.c | 1 - tools/perf/util/symbol_conf.h | 1 - 6 files changed, 7 deletions(-) diff --git a/tools/perf/builtin-kallsyms.c b/tools/perf/builtin-kallsyms.c index 3751df744577..7f75c5b73f26 100644 --- a/tools/perf/builtin-kallsyms.c +++ b/tools/perf/builtin-kallsyms.c @@ -62,7 +62,6 @@ int cmd_kallsyms(int argc, const char **argv) if (argc < 1) usage_with_options(kallsyms_usage, options); - symbol_conf.sort_by_name = true; symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); if (symbol__init(NULL) < 0) return -1; diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 8b505e1e5002..da36ace66d68 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c @@ -1774,7 +1774,6 @@ static int __cmd_report(bool display_info) } /* for lock function check */ - symbol_conf.sort_by_name = true; symbol_conf.allow_aliases = true; symbol__init(&session->header.env); @@ -1904,7 +1903,6 @@ static int __cmd_contention(int argc, const char **argv) con.save_callstack = true; /* for lock function check */ - symbol_conf.sort_by_name = true; symbol_conf.allow_aliases = true; symbol__init(&session->header.env); diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index a31a23af5547..dcedfe00f04d 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -1676,7 +1676,6 @@ int cmd_report(int argc, const char **argv) * See symbol__browser_index. */ symbol_conf.priv_size += sizeof(u32); - symbol_conf.sort_by_name = true; } annotation_config__init(&report.annotation_opts); } diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c index aa44fdc84763..1f6557ce3b0a 100644 --- a/tools/perf/tests/builtin-test.c +++ b/tools/perf/tests/builtin-test.c @@ -542,7 +542,6 @@ int cmd_test(int argc, const char **argv) return run_workload(workload, argc, argv); symbol_conf.priv_size = sizeof(int); - symbol_conf.sort_by_name = true; symbol_conf.try_vmlinux_path = true; if (symbol__init(NULL) < 0) diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 277cb8f84cbc..16822a8a540f 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c @@ -74,7 +74,6 @@ int init_probe_symbol_maps(bool user_only) { int ret; - symbol_conf.sort_by_name = true; symbol_conf.allow_aliases = true; ret = symbol__init(NULL); if (ret < 0) { diff --git a/tools/perf/util/symbol_conf.h b/tools/perf/util/symbol_conf.h index f26f81eb8252..0b589570d1d0 100644 --- a/tools/perf/util/symbol_conf.h +++ b/tools/perf/util/symbol_conf.h @@ -18,7 +18,6 @@ struct symbol_conf { show_kernel_path, use_modules, allow_aliases, - sort_by_name, show_nr_samples, show_total_period, use_callchain, -- 2.41.0.162.gfafddb0af9-goog