Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5944746ybi; Wed, 12 Jun 2019 11:08:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBOZWgXjryHh8SdJX+QTy0eOSGMFQnMoqf4NRsyk26VOnIiRjU4/ltlaFVykjoPsvtBdaF X-Received: by 2002:a17:90a:db42:: with SMTP id u2mr516893pjx.48.1560362916558; Wed, 12 Jun 2019 11:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560362916; cv=none; d=google.com; s=arc-20160816; b=sQzecnwd8Rcf0Azpc2wWZ2v3pslXGLmnMvVgz7Rifqly/dzWc5bAyp6rCRWnnJ2z5j cH8omvdrWFmc8CcYGpBA5RQRT8IhwsdKAHMvZUy7bz5f2uV3MW4JwuUWd/PzjPCjm/O9 KA4vJav3fXt72YP5cCnNopf+QvZA4NLx/e1ALv0eGMOSoqi56PbSdJ06/6BPRZqMpWx5 h2CDOWSs/HWUScsypgiLF4B6OFAG8Ino0H6RDy6uCeOiyw/bLtWDINtLsZMYwQKe2JuX D5i7GR1cusTMX6V9fKcWIMVzWirPwkw3uTZS64rMabLVsgdkk8SCulapr1S0KON6+Lqw +9GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=WKZBn5hrqUBN0vdTdkfQRnrpZW0zRXfCHW2XB/WALnc=; b=XwXZT5QHqnLCN8bRJCt4IY3gZ21aUw/1cpwQgh5sfriXC8bcz8etBiasvJfj0ifnOM J3u8tKvP2TQFxdGHb9JC++FUYEkBeC3RbT7BDNZZkrYKd31u2QrGy0kMak8NoOZ2zcKN be4kK+5IfYaGUgKcmHqyRvO+kFw2hIORPsVXDyRJh2h4KZY0g1fFjt6bnwxp5MEm1oyL 5QE2R9PB2zCnKKAJVskklYIvcTvAUbEUMPY0xeTa/43jFiJIjdVbRYEz4mOHEB0K1L66 jeJPXfwBOGiBhpEI3q50QKLnxZ/k1OJ5EY+bcNaUvMHXIOto+fwa/7Op3zmrhOFHIrS+ 3z9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=MwvmsZ+G; 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 l2si448524pju.5.2019.06.12.11.08.21; Wed, 12 Jun 2019 11:08:36 -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=MwvmsZ+G; 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 S2502130AbfFLQfV (ORCPT + 99 others); Wed, 12 Jun 2019 12:35:21 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:34774 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438224AbfFLQfU (ORCPT ); Wed, 12 Jun 2019 12:35:20 -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 x5CGY2Ki172589; Wed, 12 Jun 2019 16:34:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=WKZBn5hrqUBN0vdTdkfQRnrpZW0zRXfCHW2XB/WALnc=; b=MwvmsZ+GhfUdX1QyVxwkuyCXY5gaKoNTO9c+wGBg/NtFkeOf3UcXNYGtJfI2t+SFQtyL nAW3B4L0RVf4tN+HAiBN5SGlSs7I1YCqLEwHBqkWa8tsoMCv1Fj08cilXn3EhrMnilHL Lsn20c2JEnUkTT8wC5+ltllWttz+thXgQbcsLcgTZV8nVT+5keSQiH/9bIe6VdpPcd5H 0TnNsmrdbIq1qKLULfUr1Sapmka6sPHvoz1t3VGiPgmQoKdUu2Rz7xrPw4JgRy3wplru m6mKEjC6YVt0SXC7kALrzgxKX/Sr/aNvZPsGTSdP6cNTqOiyaSXdkQbYvb0U6aSBnwBL Ng== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 2t04etvrr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jun 2019 16:34: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 x5CGXJiC113235; Wed, 12 Jun 2019 16:34:52 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2t024v2uq3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jun 2019 16:34:52 +0000 Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x5CGYpld006402; Wed, 12 Jun 2019 16:34:51 GMT Received: from ca-common-hq.us.oracle.com (/10.211.9.209) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 12 Jun 2019 09:34:51 -0700 From: Divya Indi To: linux-kernel@vger.kernel.org, Steven Rostedt Cc: Divya Indi , Srinivas Eeda , Aruna Ramakrishna Subject: [RFC][v2] Kernel Access to Ftrace Instances. Date: Wed, 12 Jun 2019 09:34:16 -0700 Message-Id: <1560357259-3497-1-git-send-email-divya.indi@oracle.com> X-Mailer: git-send-email 1.8.3.1 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9286 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=795 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906120112 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9286 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=858 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906120112 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please review the patches that follow - [PATCH 1/3] tracing: Relevant changes for kernel access to Ftrace instances. [PATCH 2/3] tracing: Adding additional NULL checks. [PATCH 3/3] tracing: Add 2 new funcs. for kernel access to Ftrace instances. This is v2 for the series with changes made to Patch 3/3 to address review comments. The new changes ensure that a trace array created by trace_array_create or accessed via trace_array_lookup cannot be freed if still in use. Let me know if you have any questions/concerns/suggestions. Thanks, Divya