From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F5D8AD2C; Sun, 2 Jun 2024 03:44:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717299854; cv=none; b=NexT8htWiHdlroAnOW1I5NbQFxvuSVcDoMipe2I7t0I3+aAfnTpjoqoUXRaYYmziH02OAjMV5Ku5n0walvvL5L/vHGqe6xdb/d/q9BtGLEehV1AcjM2AqCJell96Xxe2FWHcJmaG0bbqaVw8i2khxZXbOiSGkBAaTqE3cEnRx2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717299854; c=relaxed/simple; bh=sW1D5IMZwoXFgRb3cXGhYACHThgvInPjFTzdOzgY4FY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ChhMIQPKE8hvj0jxbnuftGt7mGujltV3jvCapBAUTZA55TLCsJW1Qji/Vga2yRULlbXG1TlV65s5fQ0/aFDVWFhAQ/qc7iQc+xOq9kuhOw0Apt8Mq5xYTn1BKkzhIWTmFJ7YbMDaoXXuFpga+QKRJafUjV8W24P8/rEwHh/TFM8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23573C32789; Sun, 2 Jun 2024 03:44:08 +0000 (UTC) Date: Sat, 1 Jun 2024 23:44:03 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Alexei Starovoitov , Florent Revest , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: Re: [PATCH v2 00/27] function_graph: Allow multiple users for function graph tracing Message-ID: <20240601234403.568bcb7e@rorschach.local.home> In-Reply-To: <20240602033744.563858532@goodmis.org> References: <20240602033744.563858532@goodmis.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 01 Jun 2024 23:37:44 -0400 Steven Rostedt wrote: > hanges since v1: https://lore.kernel.org/linux-trace-kernel/20240525023652.903909489@goodmis.org/ > > - Added ftrace helpers to allow an ftrace_ops to be a subop of a > managing ftrace_op. That is, the managing ftrace_op will enable > functions based off of the filters of the subops beneath it. > This could be extended for kprobes and fprobes, as the managing > ops does the multiplexing for the subops. This allows for only > adding a single callback to ftrace but have multiple ops that > represent many users. > > - At the end, I added static branch which also speeds up the > code quite a bit. Also added: - A couple of kselftests. -- Steve