Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5494837img; Wed, 27 Mar 2019 09:30:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhLCtQE/5iDvqKvqf4U6hmaCp1s/dQtb3GS3pFO+qgQd7XZJRPPPS9i346YL6hc99T1YRj X-Received: by 2002:a17:902:2a0b:: with SMTP id i11mr37780845plb.324.1553704210458; Wed, 27 Mar 2019 09:30:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553704210; cv=none; d=google.com; s=arc-20160816; b=X1Ojekck0pE1p64w34KqgNvsrZtBZosrypc8UJvoN7l4hZ9Pik0JpQoL08OXZj0Euf 7zOt+kPcSziS8eCMmsqBOypEApfDIhYr7FS7fyBh+n/a4kSTFZbGlv4bHX1/+UWqzqi3 IB5TyqtU7XtzjZ7wFKcOpsZrFPT1wuWBZ4N+Mk24cE+etpZxVzGfxX3DvkcjT7nOdLKt w8s2YCk2md+cwLJVGTdmUhWxFvJLJEbs85L6FgmHzSqqZM5IHsEEV7HUgot5Z1pghGuI LAiFaSt2pWRUsYfKmN1dWzV2WjoLB46kwF0WXienW/QKawTV6nkdHeYYQSH04aoyh5NI Wc3Q== 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=ByRW2qfSo2bjzfy+wP/2mGROXV1Q8XhwiD9MNLKNF0E=; b=suisSdKyaqzNpRMngnEFhDYZ1vLg2N1n1uxiem6eXa9L6YT4PdZOwuQryH/LkNbrV5 Iobeqbb+ro95UAXOdrZGGg/+1GBHs7Xrzei1TbHDRNV1EJxvrPt2YP49BfuLfXLCWnjD G6OolSrRaRP2MVQSYZpQcimXvV1n4wR+oWTOCc2EdrY5shj4rWBErana6qpNs8Sx35yb mSyq3nPs9MKccaikgepAUVFjoglbZ7jOIE/CANn9TpmBPuoPRmzxYUc/+8uA+KwRT9zh w/6y7xG756lH+qz+EhDP5W5rnNx3Ekp6Sn7388d2NcaJP6v7R/guy+4G8q1z7nJLN4N/ P2PA== 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 76si16280820pge.555.2019.03.27.09.29.55; Wed, 27 Mar 2019 09:30:10 -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 S1727642AbfC0Q3O convert rfc822-to-8bit (ORCPT + 99 others); Wed, 27 Mar 2019 12:29:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:48610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbfC0Q3O (ORCPT ); Wed, 27 Mar 2019 12:29:14 -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 8A8742082F; Wed, 27 Mar 2019 16:29:13 +0000 (UTC) Date: Wed, 27 Mar 2019 12:29:12 -0400 From: Steven Rostedt To: Divya Indi Cc: linux-kernel@vger.kernel.org, Joe Jin Subject: Re: [PATCH] tracing: Kernel access to Ftrace instances Message-ID: <20190327122912.70bcf31a@gandalf.local.home> In-Reply-To: <1553106531-3281-2-git-send-email-divya.indi@oracle.com> References: <1553106531-3281-1-git-send-email-divya.indi@oracle.com> <1553106531-3281-2-git-send-email-divya.indi@oracle.com> X-Mailer: Claws Mail 3.17.3 (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 Wed, 20 Mar 2019 11:28:51 -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. > > Signed-off-by: Divya Indi > Reviewed-by: Joe Jin > --- I added this to my queue, for 5.2 and then we'll see what it will do. -- Steve