From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECCFCC43334 for ; Wed, 8 Jun 2022 16:08:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244736AbiFHQIh (ORCPT ); Wed, 8 Jun 2022 12:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240123AbiFHQIf (ORCPT ); Wed, 8 Jun 2022 12:08:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86E3F1C5D5C; Wed, 8 Jun 2022 09:08:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2DDE6617D6; Wed, 8 Jun 2022 16:08:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0667AC34116; Wed, 8 Jun 2022 16:08:31 +0000 (UTC) Date: Wed, 8 Jun 2022 12:08:30 -0400 From: Steven Rostedt To: Andrii Nakryiko Cc: Jiri Olsa , Alexei Starovoitov , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Network Development , bpf , lkml , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Masami Hiramatsu Subject: Re: [PATCHv2 bpf 3/3] bpf: Force cookies array to follow symbols sorting Message-ID: <20220608120830.1ff5c5eb@gandalf.local.home> In-Reply-To: References: <20220606184731.437300-1-jolsa@kernel.org> <20220606184731.437300-4-jolsa@kernel.org> <20220608084023.4be8ffe2@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 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 8 Jun 2022 08:59:50 -0700 Andrii Nakryiko wrote: > Would it be possible to preprocess ftrace_pages to remove such invalid > records (so that by the time we have to report > available_filter_functions there are no invalid records)? Or that data > is read-only when kernel is running? It's possible, but will be time consuming (slow down boot up) and racy. In other words, I didn't feel it was worth it. We can add it. How much of an issue is it to have these place holders for you? Currently, I only see it causes issues with tests. Is it really an issue for use cases? -- Steve