Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2886953rwd; Wed, 14 Jun 2023 08:30:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6kwFu59E6pu2H1L0M24sihmK+6q1W7zSrqbtSIXp1BOsnOuVHS7MDG+LnnYPml04HsoXv+ X-Received: by 2002:a05:6808:28d:b0:39b:6f01:babb with SMTP id z13-20020a056808028d00b0039b6f01babbmr9490588oic.58.1686756616972; Wed, 14 Jun 2023 08:30:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686756616; cv=none; d=google.com; s=arc-20160816; b=xIW+g2U3xjz9TiX5JMlnGNmnSDPXpqxQFF8qA5P8+J/WbkVvWRJ/JxCcXtE52WCsA+ B5qJzvVMCCD8QusKOnZfWIJzDhN/Snic66vr3j3Vq1h8+3K8WFBuXXoxDHGiUk2QzZVT 0L8PqoLotpif2tI84PlB+Tz1qAMt5jbJzElxaGKZZ0t0nFhRa6kM8gv9o9dcybg5+yN5 uzP0ZZboorYOiFM5lNluzrH+C5cULx5pPzhWvBU5AhzGKH6mEff2DCoadWv85E1fAiOB V4rFo255cQG9ZlQ4mrliq1GjBVCx0i9IuHXO1mVjQdEn/GQ9L3pUb1tnJ09SfiJQ0Dn3 cWZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=uiph5yUeP0ITv+LMoVEbvJtWvMnLb1grzbfikW2Esio=; b=IBy8CjFYXLQGYolysCSwT82FUz2vNSNrJ9H9+5haY4gLuPTOVWcL3rsZbT9Q0pV1DR oaf1vxG/gmWk2yoGrY1e6Q+kc3ti1Og0jLOkDDwj44aFM8X9ELf4O01P/YEDk2EnU88k mSqed9qfAczmrc2b/pTOA2QLc2cgKEoKgfJ1CZC1oMB6lSu9PZDvPrSSRIJRzT3ES4uB XQB8c7GhRNHCU9jeKkd4dJSFGkmdpz/BU0igNiFVfuYqKnpmpshonmlDw6/dnnkVtn79 HSb6f1o2zel8K7fRdc1Ds9svIdCADlNPqKmtu285OAx3+kRBwVj2zYhS15vOnYChm9eD W/KQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g1-20020a17090a828100b00253667cf6e4si12706229pjn.20.2023.06.14.08.30.03; Wed, 14 Jun 2023 08:30:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343562AbjFNPMR (ORCPT + 99 others); Wed, 14 Jun 2023 11:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245752AbjFNPMQ (ORCPT ); Wed, 14 Jun 2023 11:12:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D17581FE3; Wed, 14 Jun 2023 08:12:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 670B864036; Wed, 14 Jun 2023 15:12:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B65B8C433C8; Wed, 14 Jun 2023 15:12:13 +0000 (UTC) Date: Wed, 14 Jun 2023 11:12:12 -0400 From: Steven Rostedt To: Jiri Olsa Cc: Yonghong Song , Masami Hiramatsu , Mark Rutland , Andrii Nakryiko , lkml , linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, Andrii Nakryiko , Jackie Liu Subject: Re: [PATCHv2] ftrace: Show all functions with addresses in available_filter_functions_addrs Message-ID: <20230614111212.4e33bfbc@gandalf.local.home> In-Reply-To: References: <20230611130029.1202298-1-jolsa@kernel.org> <53a11f31-256d-e7bc-eca5-597571076dc5@meta.com> <20230611225407.3e9b8ad2@gandalf.local.home> <20230611225754.01350a50@gandalf.local.home> <20230612110222.50c254f3@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Wed, 14 Jun 2023 16:14:19 +0200 Jiri Olsa wrote: > FYI I did some perf meassurements and the speedup is not substantial :-\ > > looks like the symbols resolving to addresses we do in kernel for kprobe_multi > link is more faster/cheaper than I thought The symbol lookup is supposed to be fast, but it's not "free", whereas this is "free". I didn't expect a big speedup. -- Steve > > but still there is 'some' speedup and we will get rid of the extra > /proc/kallsyms parsing, so I think it's still worth it to have the > new file