Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp290153lqj; Sat, 1 Jun 2024 21:03:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4UsWg6QZqffLqxY4cr5rk+WALgTbppLDjnohTMQnh4sIEhwz4pWOxe0ulQie+SwuhyZyQkfFEvaw7le4YBhf/T1dmJketvt3+3Q282A== X-Google-Smtp-Source: AGHT+IE4Y+38kThM8z4roDEac/oNJHE2wHy0Gc1E32ms/yH/sQhnhXXLuutw4TuejNDjI3e/67qJ X-Received: by 2002:a17:906:3899:b0:a68:b49e:4745 with SMTP id a640c23a62f3a-a68b49e5429mr157911066b.70.1717301006403; Sat, 01 Jun 2024 21:03:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717301006; cv=pass; d=google.com; s=arc-20160816; b=Llwkr1GkFDuOHx88zkof+EHdFRHwN/VhmcoINvvzxgRrNC5KiMW0qpoqOOOUL41bBr JF41creY6crco9swUcLIQkG3BR9yRifv8DFfFxJ3A0va+IhHJJPGJ8+8YpJYC5tZ05d7 oeXPs9huauAlu7G9T6u7ho28AsBLYHyObS7R17PzYcTUkDV3fE5S38i4uy8BvxCwQfdF 9XAxd2G3RtBYwsc1nTYA/xnVgXxmmIXboL9GqiliHJHM36ZIftbT4RyjgCaQ0gBuIRcB APqGUfok0G5NQsmpyWmOVJgjyRvPZ55PObCR5QMbYTupa2J4yiQnTI4rUBehBhcueMtO d2/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=IpITNzaZTnW63V6lWaK7USLZks3j0AnXAxpO1/JJsXU=; fh=YfcaVrAzBpSwi8dOlqHV4K1os6qdULs4cyXFG/DyLfE=; b=OofSZK2n7RBtStr7vafnXcAIsm64d011BGM1qUlrH1XQlyOMNvBKJQJ+Q3km0anE7K wm7gltcERU2+0LvRyvgj5nO0Bu7fI1UtLMFp81Iy1tixyFfgld3ox5Ai4TZUpGo/3hJo NkkHXuhxhDkaZ8P7ItbAnC9Y4YULEq+2eqsoVADvtLeMUs3BxgozffuVIRUYv+r3EeJ+ 0NmAY+aq0+5hA/ELNXpnvtz8SvB+fla7ErAWTiEi+cfC4lfyC7AOQYavclxkF0CDA5gg lgy2Q868FY1i0HPAis5oPODDBg5yVNlJlhSqFZVcG0+iXWg/ycTdaOGW96kLolomDZvK BZ4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-198110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198110-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a68aa1465a5si144137766b.494.2024.06.01.21.03.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 21:03:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-198110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198110-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6C9C51F2359B for ; Sun, 2 Jun 2024 03:44:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11640BA46; Sun, 2 Jun 2024 03:44:15 +0000 (UTC) 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-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