Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2670592iof; Wed, 8 Jun 2022 09:35:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCDd0QBTMQPXsB/+XeOjWN8M1zAOPl1fhvV4IQ+xRHicEPGAVdHFb9Tv98/T+xYSH+4Jhi X-Received: by 2002:a05:6a00:c5:b0:51b:c452:47ce with SMTP id e5-20020a056a0000c500b0051bc45247cemr34516750pfj.52.1654706114164; Wed, 08 Jun 2022 09:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654706114; cv=none; d=google.com; s=arc-20160816; b=af03VY93D5Lzq77l4/zorsA37aRuBp+dn8oZQem5hDkV3v2eNBW5fvEN/lYjsV/Fuz XVVr31ws3IGLrOBSaxQVzC2e35603k8hwt4RuAOEQZLuj24tIlO8Mo+/6BvrLAXn+0rS RvF79QfA7DQSbJMxXPCWtENntR6xkicvW5g8UEQ2mmf4SDhgIMmG7+ATY0RAerpgXQVu /DwdDZ2cao0mk4JxbgCJA696RMDfMxeLnPwbIJ/YXk+UbwU+uMm9tFrgrvrsrchSo6Hp GBjRU+d6uUBMgt3MDi07qydHAcaofdPzF6N0RAJPw7SHq2KI+dvbLp0PTr42b1xA9Rg/ U/aw== 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=rrM65j+AK0lLMFuI05PPiEI+OSlQs56Vf/TBMLp5dzU=; b=V9Ryrxsli+jPYiOvhW9noltwgEJOTOw5Ro6xCo36Q2tbvL+AUnhEUDfUonysYYeSio kBXF/XzvaqM0PPD6i7Pkc87yJ3c+TTfILFBqKXqILB1ocehCSowqC5SN3QaPHMDWN28t QjVanJ8foJ32zqfkUPNyIu/rvv8BKsKJC7F8DfjNo4zjJGrK16WiaYYYTukeoAm5HnL5 IfUEKrsI3fDf8GNGs+uafdp14rad9DARNNzaZee0VtNrtIy2oVL7kuI6hT3dRKk1YLLm gvO8UMjB0zCSAksyaUuSc1MsYvggFDjBaTCEUpd8zvB9d41ImHk6b9WTCpOkZ85PulyR U88w== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e7-20020a656bc7000000b003fdc8b4d872si14404055pgw.602.2022.06.08.09.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:35:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B66AE132A29; Wed, 8 Jun 2022 09:08:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244768AbiFHQIh (ORCPT + 99 others); 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, 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