Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp812970img; Wed, 20 Mar 2019 11:23:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTQayBkidxCEuC4bQHNa3utibNeQhi+SsDPD67VUeLcDCa1z20Ni6JpDKaEeK1Mspixel3 X-Received: by 2002:a62:43c4:: with SMTP id l65mr8687256pfi.173.1553106239348; Wed, 20 Mar 2019 11:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553106239; cv=none; d=google.com; s=arc-20160816; b=k94jTAW9K3HwFHYOtAz+5e2z5BE02OF9mmsDAxJVrgVk80TFVgu+PV7/g4Y+dFyCvx oa6j4HSr+5eMnY12n0CHxyyg1b6VyCfyiMVzS3MFuOuK5hiYFbqATik+WmokmWzAIn44 a9ZNChDJ6cKmNmQccQByRjVcRUttKkZo+GxsqokCEnqS44eG2j+AjFfjet8s+gtapIlY phiyacZO+ZJMuIKJ1HVU4/QWc0/Td1dJytTdiYiOyDPg5+K1sT3/iFp8fOgIJh6LOOkf P1A+45HguH23lY27Zkc4AUZ5zmHVcQMhvdQJKdiE8kmQhwdArp2m9dyQISbkpQLb8dWV bUZA== 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:in-reply-to :mime-version:user-agent:date:message-id:organization:from:cc :references:to:subject:dkim-signature; bh=44zS0rN0lFkOKd6owGCH9o48+inXYzKGH8Y3xOZr3d0=; b=Z8wqpcuZW5F7zeXJiDRxLccfsRpe5SMp+4EWn6VGhts73gu1+pTtm0jCwrb6WFV9Ib NPmJAuCM2ygcg5au0SG5w0z/z/Ti2fHGV0UqmkULV1PzOo70iN1hi+Le9KppMox3A1mY V9CKvCUGXz0UsUGRneT9iMyq43YlIKfDf8uqMHlQB1d6W3Eu+4DVuH4u7F6kwnV1KT5U Zb0oJdA4QhhFhypMXamxqNbrFxNFqyn964htQF/NyERJhSxfs92FKvMahtM4hAnI4Ja1 8RNK7gWTNTOwPxnAuYFDRJdtLAztYC677sCBALkzNivhc5rnffXXWPHmz58lP0RBZ8HJ zYOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=lEIw2rGQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m26si2186976pfi.247.2019.03.20.11.23.44; Wed, 20 Mar 2019 11:23:59 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=lEIw2rGQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727482AbfCTSVP (ORCPT + 99 others); Wed, 20 Mar 2019 14:21:15 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:41118 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726529AbfCTSVP (ORCPT ); Wed, 20 Mar 2019 14:21:15 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2KIIbK7053772; Wed, 20 Mar 2019 18:20:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=44zS0rN0lFkOKd6owGCH9o48+inXYzKGH8Y3xOZr3d0=; b=lEIw2rGQOqbZoDy1Fx1cztis0YIYy+h23nBD3fz5f7s1GOVC/pwi41ONdn5wK+UzZQF/ lPak5ajMWP26oCtjOoGwxLT2qVLJO/0MHPX5SY+TeWO7Z4hqmi5u42Z4Zb4FgPB7RpGv Bt7fVSX+oAHhzaOsXA9juLVBXBtbdbI/rfqG3sQsZJp3iSOnvoHr+KOo8dZ5KYv7+Bba PDSr/j9FcRfU7UKAV3D8qTubT/4fwwvChTQi9T4HnloI5QexUlhMTxVlLmFaCr7SS+i5 Th6tSJYIvi+JrHT/QSuJEJbisAav/FnYNUeOiL7BEvkYlEVT+9PetrrjoP1WxZwsAR+d Gw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2r8rjuvj0y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Mar 2019 18:20:47 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x2KIKlvG029360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Mar 2019 18:20:47 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x2KIKlxQ001966; Wed, 20 Mar 2019 18:20:47 GMT Received: from [10.132.106.120] (/10.132.106.120) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 20 Mar 2019 11:20:46 -0700 Subject: Re: [PATCH] tracing: Kernel access to ftrace instances To: Steven Rostedt References: <1552692925-17240-1-git-send-email-divya.indi@oracle.com> <1552692925-17240-2-git-send-email-divya.indi@oracle.com> <20190319161655.2824746c@gandalf.local.home> Cc: linux-kernel@vger.kernel.org From: divya.indi@oracle.com Organization: Oracle Corporation Message-ID: <8cb583dd-1712-f4c3-fa6f-191fa042137f@oracle.com> Date: Wed, 20 Mar 2019 11:20:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20190319161655.2824746c@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9201 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903200134 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sure, thanks for taking the time to review. There are a few issues with the patch styling and some minor modifications. I will shortly send the v2 for the same. Regards, Divya On 03/19/2019 01:16 PM, Steven Rostedt wrote: > 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