Received: by 10.192.165.148 with SMTP id m20csp5575832imm; Wed, 9 May 2018 07:14:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpKqhGcQ5AE2KQBPbtKrJBrut9Rh32YTo3vTHYKUX055V5OBmwwmX9s2vHXq3Gyvj6MmgCw X-Received: by 10.98.254.14 with SMTP id z14mr14851341pfh.73.1525875246648; Wed, 09 May 2018 07:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525875246; cv=none; d=google.com; s=arc-20160816; b=Um+5AU8uOqY0KHtZWzQehVZytuepmdJ7dQCBRmHRCM7xl5UyAUz5jc66pMotEcgMfE Z/9NqhrUYRD5ZT51EushVucaTo+f81QkrSDI/wjERvnvKxyXNlNKaK7z63xT7IGW3lE4 KbCR+Faxp/4AumUMPmz90MCOawHiq0NoznEc6oO3cQfc9GSit7Ik8X/fNoBnKAJJPow+ +lDvt3lvXvMDuTWg8ueIyA8Xqw4UQJtZyWr9fne9Du2Xy7cXZnqZlJtvKhm6WMakxWrh OXJgal0XJ89g1lbPA2B4hK0G5gCB0eGpH4uhwH9azmo78hSnw6eNhfnS8S7Yxp5a69n/ isMA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=ufBUiLGONbvNIF/aZh5jxntVblJqo6hOvta0ja7hCsw=; b=0vvTGrYApzTJSVLLV6xx8Wc8qM8m7rklyj8HoDA6ISdx6s1h6n69UiA4WzaQllga49 Es+WNWs1WQ50hx/NlxXav+tkIwkn9R2UOrc9sW0zukjVc3Q/mfx88kLU37HXx9kwrY22 TwYJj3pUJ/TtZVchQYCGfQb/RrYu789/phVfrcBpca1iCjSmLEnIi2hZbIwo47twi0BQ aHBCbfyOYA1yQH9UkdVhnDjLP/FTZqftTSdek4i7StbcPv3r40bm0ORDSma8Ku4PgfKK M8aKv5LoIwPw4x6kC8R6ZauHi3ZC8vO8sB0zLwZSCcLYqLIWx6ICY20btOMi2qKZ5CVn tSeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=kZEjQPzr; 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 f96-v6si26284277plb.418.2018.05.09.07.13.51; Wed, 09 May 2018 07:14:06 -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-2017-10-26 header.b=kZEjQPzr; 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 S1756612AbeEIOMz (ORCPT + 99 others); Wed, 9 May 2018 10:12:55 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:56684 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756555AbeEIOMu (ORCPT ); Wed, 9 May 2018 10:12:50 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w49EAtFQ163503; Wed, 9 May 2018 14:12:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=ufBUiLGONbvNIF/aZh5jxntVblJqo6hOvta0ja7hCsw=; b=kZEjQPzr5NiCw5vc6Json9USOXJhmA3PqNWYmuIo2JCBBjWRWTRa99FAq/RY3bXWLru+ P0Y3I3xQF7o4UI12onOSTwhFvisePbpb51QSezDlR95fjF0HpG8hzMb6Z1Jt7dBxOEj7 Ok1sw1z5jqB9T4QCe+mRBI4dpa513psajSpEIZz5yJf5k+98Nut+fNhpEN+hrIfgxhzI MOinhxNMvpJcsufUadTYULI2POF/ZQ3nScul++6slgMl46GNORGpvMjRweiAy6A6L8bs HFOFniBPcgliau09L5k4QkqQDTtGvh2tp3gaXgDxWgG3lgMfzfHLnfzG3CcrgfctwD6e uA== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2hs593duwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 May 2018 14:12:45 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w49ECi69003034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 9 May 2018 14:12:44 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w49ECiYk013983; Wed, 9 May 2018 14:12:44 GMT Received: from [10.39.235.123] (/10.39.235.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 09 May 2018 07:12:44 -0700 Subject: Re: [PATCH V3 1/1] PCI/AER: add pcie TLP header information in the tracepoint To: Steven Rostedt Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mr.nuke.me@gmail.com References: <1525820696-31967-1-git-send-email-thomas.tai@oracle.com> <1525820696-31967-2-git-send-email-thomas.tai@oracle.com> <20180509083814.149e8d8f@gandalf.local.home> From: Thomas Tai Organization: Oracle Corporation Message-ID: Date: Wed, 9 May 2018 10:12:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180509083814.149e8d8f@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8887 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=754 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805090134 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-05-09 08:38 AM, Steven Rostedt wrote: > On Tue, 8 May 2018 19:04:56 -0400 > Thomas Tai wrote: > >> When a PCIe AER occurs, the TLP header information is >> printed in the kernel message but it is missing from >> the tracepoint. A userspace program can use this information >> in the tracepoint to better analyze problems. >> >> To enable the tracepoint: >> echo 1 > /sys/kernel/debug/tracing/events/ras/aer_event/enable >> >> Example tracepoint output: >> cat /sys/kernel/debug/tracing/trace >> aer_event: 0000:01:00.0 >> PCIe Bus Error: severity=Uncorrected, non-fatal, Completer Abort >> TLP Header={0x0,0x1,0x2,0x3} >> >> Signed-off-by: Thomas Tai >> --- > > Reviewed-by: Steven Rostedt (VMware) Thank you very much Steven. -Thomas > > -- Steve >