Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5686116rwd; Mon, 12 Jun 2023 08:20:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4bQwsLRcBpFfkDf7aUe/ZT7LOPab+zR8ATVOcmbpIpK5TLcR+DZJrKoCuAgtdvwHILIZq1 X-Received: by 2002:a17:903:41ce:b0:1b1:ac87:b47a with SMTP id u14-20020a17090341ce00b001b1ac87b47amr8464778ple.65.1686583251116; Mon, 12 Jun 2023 08:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686583251; cv=none; d=google.com; s=arc-20160816; b=mRR7q5ugOZ2+WSJz8dTaoxwUaBDkC+F2Nw6r+ptnoaSa+A9WBL9lZj3D42wtsPAEqL icjVWogw/IiqkdAtM+CgtoBlC8vdaJXK5BQpFe7V2rIdOoZRrU48x5iBappahX2yGT9I eDnNDK3nDdz+qxwY0gVfXiZFR5wYe6L8RgmOz++rYLh1iONg/waOdkt5AwN5plZCsDtV 2L2vtpp6xapAttJa8a5UiGLgPxciMwkMGGcLTANBxoe3b7rSy/NxOBQU1/Ol5Z0NLFd/ oJ1n1uSMOE99o9KNQiZ5o6rVTZRbFTEbDI9q+NJgnt4adpsn3Hl3UsFcJDkTQaiXGske Zlxw== 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=vd3xA36qr9qEOGUKkOgilHs17ROmt8L6NPMLQ4kqxXc=; b=lSCsQ8o1H7ScgMMgV2q7OqpOfLeZeTzMqzkKGG4W9WHC2nbhTo/0OJxoJe1q9RkbEx G/MfPYiqzlZmvJJQHKoGrnbBHvlzm+xZ4jigTcweQ0sJ90wWoRUNomle1vOvd4Jnn4yA 8Cu8+d1F/iLkoUaw20JKCfNzzvgJ0feBevuBfTXfrwVO7tWIjZmbyK4vqBXQEpwwgMtp jKbdcAZ8K94cJPgr1sL4QDI2+xuNtaGmpyS/YkOzh/V7dhFLHnv1wHaK+/Tongx6RvCo DGQw8iQT0xIvBzS1I7oAy2yvXeEj6tgA5c+snTcBp5v8XvPoDhYdyy2lpdYnB0Qtjo4n 13VA== 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 kh7-20020a170903064700b001ae5fcecb49si6849055plb.25.2023.06.12.08.20.37; Mon, 12 Jun 2023 08:20:51 -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 S234848AbjFLPC3 (ORCPT + 99 others); Mon, 12 Jun 2023 11:02:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239171AbjFLPC0 (ORCPT ); Mon, 12 Jun 2023 11:02:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0D51186; Mon, 12 Jun 2023 08:02:25 -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 7244461629; Mon, 12 Jun 2023 15:02:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4C75C433EF; Mon, 12 Jun 2023 15:02:23 +0000 (UTC) Date: Mon, 12 Jun 2023 11:02:22 -0400 From: Steven Rostedt To: Yonghong Song Cc: Jiri Olsa , 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: <20230612110222.50c254f3@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> 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 Mon, 12 Jun 2023 07:49:53 -0700 Yonghong Song wrote: > I am actually interested in how available_filter_functions_addrs > will be used. For example, bpf_program__attach_kprobe_multi_opts() > can already take addresses from kallsyms. How to use > available_filter_functions_addrs to facilitate kprobe_multi? > Do we need to change kernel APIs? It would be great at least we > got a RFC patch to answer these questions. I agree, having that information would also be useful to me. Jiri? Andrii? -- Steve