Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1503745pxb; Thu, 14 Apr 2022 07:34:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAYgS6jIKJzuehBbrPSd7kwSAzN9pEKeNH+lmAjuA0alsEYl2l7F/mKvq3QIyC+lOnXle1 X-Received: by 2002:a17:907:1624:b0:6db:8caa:d71 with SMTP id hb36-20020a170907162400b006db8caa0d71mr2596216ejc.723.1649946866838; Thu, 14 Apr 2022 07:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649946866; cv=none; d=google.com; s=arc-20160816; b=CanMMUNf4buayA0zC0jxWUwEdiRo4Ls5SAP5CuiugjVCVd4l6RI8AfKrkSrQ4MOfun d7wJipGU4n49j0sS7XpVx+at23jnn/YbFoiFuES2D3XIODr/NrqDarYaxurDr7LZVJh5 /0tx34+RLJHbGik/iLJZGw//IVWIoYZD7ZIy9z7J4a57UppFH8KLWMAVQtroyzariesJ S99iBUTLBA/ncRLTZud5cZnL0zKhwvPYCwTWMFlbB1p8XLQ73IPq9EQLddMRj7yjg6my cUcLM0C92wT2SqXJZfJKTHE6TIu+9JILTFNGa3/x7guNVlmd5qFYKHVFS/Xzf9GRNA64 VnvA== 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=Ype58MlSlhsHI8zLHxR+8PwDzO4Fw/4Ez86JYw1HSh8=; b=DEC64MOUQdF6+k510Cvy55BL0rjFvV4/BOAw0IZdj4a4NOdMBElxZNUSUgCGMM9wAX LIzmZJgL4s0mmx1S0GoIdQo6bWdzzzOEiVgRi9iSENyy8ZZ8TNZNrFgjnTDxgBLV5tpa lYV0Ml37EyfcrkPz2uJRFgx5DHdt52lIOm6U2VmXyJJS5gceB5QwsbdbW3eMC1RDKjdG 4ADBENJBkHijMdZdlrbCMNNNGLEcQvEUlex0bIo8ZLf+/oB+W1eUKQyDoQ1stNh8e4++ GmSWVUn9dVsDZM5e4M9a4btDRMcMW/uXjjb5Wi+N6mq6cajzrGiQgOZf1OfxvKCzS66g PF2Q== 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 f12-20020a50d54c000000b004190f35c3cesi4009671edj.337.2022.04.14.07.33.55; Thu, 14 Apr 2022 07:34:26 -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 S237034AbiDMQrT (ORCPT + 99 others); Wed, 13 Apr 2022 12:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237017AbiDMQqs (ORCPT ); Wed, 13 Apr 2022 12:46:48 -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 B7B78DF77; Wed, 13 Apr 2022 09:44:23 -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 1625061E36; Wed, 13 Apr 2022 16:44:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7027FC385A3; Wed, 13 Apr 2022 16:44:21 +0000 (UTC) Date: Wed, 13 Apr 2022 12:44:19 -0400 From: Steven Rostedt To: Masami Hiramatsu Cc: Andrii Nakryiko , Jiri Olsa , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Networking , bpf , lkml , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh Subject: Re: [RFC bpf-next 4/4] selftests/bpf: Add attach bench test Message-ID: <20220413124419.002abd87@rorschach.local.home> In-Reply-To: <20220412094923.0abe90955e5db486b7bca279@kernel.org> References: <20220407125224.310255-1-jolsa@kernel.org> <20220407125224.310255-5-jolsa@kernel.org> <20220412094923.0abe90955e5db486b7bca279@kernel.org> 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 Tue, 12 Apr 2022 09:49:23 +0900 Masami Hiramatsu wrote: > > I'm really curious how did you manage to attach to everything in > > available_filter_functions because when I'm trying to do that I fail. > > available_filter_functions has a bunch of functions that should not be > > attachable (e.g., notrace functions). Look just at __bpf_tramp_exit: > > > > void notrace __bpf_tramp_exit(struct bpf_tramp_image *tr); Did you only use the "notrace" on the prototype? I see the semicolon at the end of your comment. It only affects the actual function itself, not the prototype. -- Steve