From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B2ABDDB6 for ; 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) Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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