Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp13749img; Tue, 19 Mar 2019 13:19:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB++EdU8h2Iq79sI9Ub6WG7PpN36MPOGq1EqGBSDciFzrgMnp1w8+pn45x4jNf4B0Bakhj X-Received: by 2002:a63:d256:: with SMTP id t22mr3614499pgi.108.1553026779651; Tue, 19 Mar 2019 13:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553026779; cv=none; d=google.com; s=arc-20160816; b=glEgBAP01dwCc0nwOUER5849+oWbBsRv5zEhLlKipAfkZL2JYDZz0b4Fho20MiiTLT ajSjhH3DAq+cDvI9f3ST8EgZy290QeBUdfVuMCRbfjRxvkQL8fE7L59/t1j/u6yytQgM nW8Eb0kKuu5MB0WvCLleY8l62r8bJc1/IsShnK6au+fdqIvrp5vdHfHGTBuUAmpMEwa6 mb2GFbLPgAvz/Ab2L3YBpFYxpDw6KpsR5KxvgnyoDC3l+XlcX2EqVqMZYd0h1ZT/2uNA ECY5xqWyl7iFSU7/J8htcTnmYTo3aBG0RUWi8whnhIYtQeblmRlpbKAmr7tu4krtgm2X p4JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=BoMDgEyFwtudFAR0IrmQI8AuE4bLThF94cNQdUQFWoM=; b=qXWQ4BNIFgVNMzTzGp1o2JRxqpd2dl4Y9MI/3XqY7JMFEGXS8Dhuq9U6MUtlsXagBH 6xGovTK5cBSuzMqBC6dYdf6LNYaWkoPlkEuhDIMg9d0GCKEOnR9nKMlQa5gJSMuJYcp9 2LNHWz00yv9cdttEbcWfTSrHIANHX5+ZT1fcDbqVKW0AevepfepoydIZXHHFgSu6As/J 2QAp1ye8FAHq89/SSkd6towrvwasu7xFU789HKELY/iHHJIZ5LsBZPQ4yhtoA30OdGNT 39vWkaf0z8WOoVeZgB6KrNr0xiieLjIMPp98f1mHERvI/B5cI3jwjVKaknydMW++Z4Y4 O7dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l127si12850685pfl.2.2019.03.19.13.19.23; Tue, 19 Mar 2019 13:19:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727207AbfCSUQ5 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 19 Mar 2019 16:16:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:36656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbfCSUQ5 (ORCPT ); Tue, 19 Mar 2019 16:16:57 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 97582213F2; Tue, 19 Mar 2019 20:16:56 +0000 (UTC) Date: Tue, 19 Mar 2019 16:16:55 -0400 From: Steven Rostedt To: Divya Indi Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: Kernel access to ftrace instances Message-ID: <20190319161655.2824746c@gandalf.local.home> In-Reply-To: <1552692925-17240-2-git-send-email-divya.indi@oracle.com> References: <1552692925-17240-1-git-send-email-divya.indi@oracle.com> <1552692925-17240-2-git-send-email-divya.indi@oracle.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Mar 2019 16:35:25 -0700 Divya Indi wrote: > Ftrace provides the feature “instances” that provides the capability to > create multiple Ftrace ring buffers. However, currently these buffers > are created/accessed via userspace only. The kernel APIs providing these > features are not exported, hence cannot be used by other kernel > components. > > This patch aims to extend this infrastructure to provide the > flexibility to create/log/remove/ enable-disable existing trace events > to these buffers from within the kernel. > > Thanks for sending this. I'm currently working on some other changes, but will look in this when I'm finished with the other work. Should be within this week. -- Steve