Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2260382rwb; Mon, 15 Aug 2022 01:51:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR54EO4ZWX0op6bXxoZ1wskPemIIBQxvz0LL1DY4m7ESafTdTcQuu4OMvksBXtomanvgboIW X-Received: by 2002:a62:52c3:0:b0:52d:c062:27d2 with SMTP id g186-20020a6252c3000000b0052dc06227d2mr15882729pfb.53.1660553519198; Mon, 15 Aug 2022 01:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660553519; cv=none; d=google.com; s=arc-20160816; b=qV2bdUK+NSvjZaGgL6nevEgCxCyPzRJdqgIViZUWGI0gwjWhocgns+vqvW4/jsIk7Q lSJ++DO8djoL75ne5n9oFkSP5gq+bGFBWsfTKGSpZPZ1yuHzULA12NyvLSSKrj6J7DOZ VWnRW3b54jT3MUzh3YIk97LzZ8hOdwkrQweLtYAdjGml+Olp6a35ks47U/z4k8x2MOVI lv62y6QkPSMwaSgjAMjQ3QhhbSB1u9QgzsEeQuJIgM3aXX24xbm5QiFnHeZZ5w3U97Ft x7gDB9jqJEorUUBz7sS9/eG0He3DZUeZyOWsYm7b+5pxXtNz3JGMNbc/QF/NybVZZcvZ LrSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZV7O1q7GRRTf8eDqThhTkWt59oZOPqEye5wXP3M1qao=; b=Rm/XJDOp0bmjb9bVmEikqvFM0hAbgsDK+LyyjmeTJiCdoAQCYRakh144Uv1J5fFiQq EEzeMRtBFVNlTSX+ZpFFOr6PSN8wngXYpwhjkN2xXGr/XZpOTNUl2vtDa0aSnhcltfwW 9LuZphPkHk7QCgX4TGANAlBfZUOyC+ZZS6AQEytTwsS+RBuG/hijOgh5g5n3a2mTWzKk B9VNSGkVgUwx6h/wnylxsI9tkyUfbEUCDh6V2Q+2CQ8+UbECM3cIqwVH7lE4LV1nnI6/ M7fvfr4YmNgQXQvhFmh1GaTcRK7u4u8xkWf4Yy3czroLMr1h4wgD0ZnKh/wGtZxcMyRg 9USA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ajHARInl; 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 e2-20020a656bc2000000b00419b27d0a83si10208252pgw.476.2022.08.15.01.51.48; Mon, 15 Aug 2022 01:51:59 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ajHARInl; 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 S241591AbiHOIDm (ORCPT + 99 others); Mon, 15 Aug 2022 04:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241377AbiHOIDj (ORCPT ); Mon, 15 Aug 2022 04:03:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA351E3E9; Mon, 15 Aug 2022 01:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZV7O1q7GRRTf8eDqThhTkWt59oZOPqEye5wXP3M1qao=; b=ajHARInlfJPzdTXMO14RRLBPOG AGU1h0X8dJ3JZD4TBQiCrgVP+EdnB/1zO2Z/bz8JZNNpmJ71TQ9ga46wSCMJCz6jtncIPMtRCdYgU fKF879gEU8JxR7KKcILpijWstXw+YpR6sKOTrD4JDz3lKTKhRZgP00tMYF/fSayICwAk7jOtYdQrP a3Vx1x+xp0EL09DAsRvRDsGxIusafbhYZuCOcwos/4PIjaEEnDKGpJQmJekvOqrPeqwDM8ACmF0ga 45TU2hMS/HVDKjULd31XFHVZX4nvQDE7Til69Wnck6ck+IBrVm65Q6FlhNzO5jFCf2x54GxceoI+7 V5Xk3ciw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNV4A-005XbO-8r; Mon, 15 Aug 2022 08:03:18 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 2D90B980153; Mon, 15 Aug 2022 10:03:17 +0200 (CEST) Date: Mon, 15 Aug 2022 10:03:17 +0200 From: Peter Zijlstra To: Steven Rostedt Cc: Jiri Olsa , Alexei Starovoitov , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Ingo Molnar , bpf , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , LKML , Josh Poimboeuf Subject: Re: [RFC] ftrace: Add support to keep some functions out of ftrace Message-ID: References: <20220722110811.124515-1-jolsa@kernel.org> <20220722072608.17ef543f@rorschach.local.home> <20220722120854.3cc6ec4b@gandalf.local.home> <20220722122548.2db543ca@gandalf.local.home> <20220722174120.688768a3@gandalf.local.home> <20220813150252.5aa63650@rorschach.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220813150252.5aa63650@rorschach.local.home> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 Sat, Aug 13, 2022 at 03:02:52PM -0400, Steven Rostedt wrote: > On Fri, 12 Aug 2022 23:18:15 +0200 > Jiri Olsa wrote: > > > the patch below moves the bpf function into sepatate object and switches > > off the -mrecord-mcount for it.. so the function gets profile call > > generated but it's not visible to ftrace Why ?!?