Received: by 2002:a17:90a:2044:0:0:0:0 with SMTP id n62csp527636pjc; Mon, 20 May 2019 11:16:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5rmE2NZ/lrH+o6YsVTequz5xoCj3IFUNRvq7CnU6UwLy8FNZB24BaCcfaa0lhaOZkKNHa X-Received: by 2002:aa7:92da:: with SMTP id k26mr36894152pfa.70.1558376217695; Mon, 20 May 2019 11:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558376217; cv=none; d=google.com; s=arc-20160816; b=TU+AIIAlme466Wb9qokkWqYVD3D0TPeFg1NwJ0P1hN1bEVbReuXikp8bEs9XRIE4Da cLKATGLeFKY3VhS5YnrXZEbhoBnA/HdgXfvpnrZcKQxpRxpLu/CsxBykZrehprg0WjRG lpdET7VUS4vyd3MN4SgAMEBteVAHhUncXdwQ0H9SkdggY6JqHvgL1frOz2Mo3Rixh6iZ v8hxVC/zkkYDgtSni4VAR1cMFxuWDLLY+lnsc4xN995lnu8FqcdhTvRk+NIQSEUZ2HI9 6ddzWb0Za5hosY4Ve9UHBpjN2zkxF/fjzbouIcYamdtrxRNI483xhZcnluXQawfiIlj7 xfjA== 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=0EvPgRUdCIUxRMJnLIUUNZuM8SwOIDsp1UXcz3PVWp8=; b=SHo8wn+S70zqO7TjLCy6q9BnXmS3WSQJwOXxnBlLZiegn2QcqN8tfV4bVtl29bmssN Em5jxrns5ZEoKBpI34do0FEMa4ZMdtQlD2B+z5QtllbG1QGYuh6sq+W4/xxHc8NZN6SO f/NLn0SV2s0vlxOW+26v2ccUV/RcwD+Sren93fTlxpoFheujXxoUYrhEnTYZbfYLay0q YZtbEMF0ilSGAXPjmc9L1H6W4c+bHV0qXmTU78VRYnmMlpwdk3AAviRytvZ8Yj6zKJLQ dLgb9MZhKJzZrF2pKTlkqpuvjDromsN3c8VFAxku8Gy5biYbCRVstdgWGwjUhrUDiS0T 2KrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=DCRbZrTz; 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 t20si18788199pfh.238.2019.05.20.11.16.42; Mon, 20 May 2019 11:16:57 -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=DCRbZrTz; 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 S2388460AbfETPa0 (ORCPT + 99 others); Mon, 20 May 2019 11:30:26 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:42024 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731262AbfETPaZ (ORCPT ); Mon, 20 May 2019 11:30:25 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4KFIvkS157728; Mon, 20 May 2019 15:29:53 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=0EvPgRUdCIUxRMJnLIUUNZuM8SwOIDsp1UXcz3PVWp8=; b=DCRbZrTzikqxea71r02YALc07W4tHXkFF63CP0Ug2ULSIKqWcnSOnp84cf2iaoGoeYFJ JfyL1pX+S6ThO6vX9WmFnrH8dy/nsA2bUVXjUAszMnjL+3HJCcVYFBHuee7JvgHmijSt nyyeaoQpBM7tdyRCip+6WMmS6+qgZyOPGLeAtuj7Dvcclqya/VaL/5PgVLLjNrvoiMlW OtqwLyJmOvoodi4harW84ohv/wk+KdixRbRHVZIi82hIrGSEx8tnFO19GTUJI+CLQrMe OfsCrAOp/uTwFaoeUrI4cmOvibvyLV5wnXiE3fPwOJMgUSOSEGJ5SQraLDdMY3dnufHu eA== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2sjapq7mep-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 May 2019 15:29:53 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4KFS9v0161935; Mon, 20 May 2019 15:29:53 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 2skudaurj4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 May 2019 15:29:53 +0000 Received: from abhmp0022.oracle.com (abhmp0022.oracle.com [141.146.116.28]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x4KFTpxY021854; Mon, 20 May 2019 15:29:51 GMT Received: from [10.132.107.27] (/10.132.107.27) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 May 2019 15:29:51 +0000 Subject: Re: [PATCH] tracing: Kernel access to Ftrace instances To: Steven Rostedt , Masami Hiramatsu References: <1553106531-3281-1-git-send-email-divya.indi@oracle.com> <1553106531-3281-2-git-send-email-divya.indi@oracle.com> <20190516090942.75f3a957ceed20201edc91a6@kernel.org> <20190516120529.4c1f6e6ddd516185df149625@kernel.org> <20190520112304.62db2c8c@gandalf.local.home> Cc: linux-kernel@vger.kernel.org, Joe Jin From: divya.indi@oracle.com Organization: Oracle Corporation Message-ID: Date: Mon, 20 May 2019 08:29:50 -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: <20190520112304.62db2c8c@gandalf.local.home> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9262 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905200100 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9262 signatures=668687 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-1905200100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/20/2019 08:23 AM, Steven Rostedt wrote: > On Wed, 15 May 2019 20:24:43 -0700 > Steven Rostedt wrote: >>> It seems your's already in Steve's ftrace/core branch, so I think you >>> can make >>> additional patch to fix it. Steve, is that OK? >>> >> Yes. In fact I already sent a pull request to Linus. Please send a patch on top of my ftrace/core branch. >> > And now it is in mainline (v5.2-rc1). Please send a patch with a sample > module (as Masami requested). Also, that function not only needs to be > changed to not being static, you need to add it to a header > (include/linux/trace_events.h?) > > Thanks! Working on it. Will send it out soon. Thanks, Divya > > -- Steve