From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756565AbcIVIhd convert rfc822-to-8bit (ORCPT ); Thu, 22 Sep 2016 04:37:33 -0400 Received: from mailout.micron.com ([137.201.242.129]:38836 "EHLO mailout.micron.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756517AbcIVIhc (ORCPT ); Thu, 22 Sep 2016 04:37:32 -0400 From: "Bean Huo (beanhuo)" To: Steven Rostedt , Jisheng Zhang CC: "Zoltan Szubbocsev (zszubbocsev)" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rfi@lists.rocketboards.org" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "linux-arm-kernel@lists.infradead.org" Subject: RE: ftrace function_graph causes system crash Thread-Topic: ftrace function_graph causes system crash Thread-Index: AdITP3reJ8G0agK7SIKsBha9PEINJP//i4MA//5SY9CAAu3DgIAAl/uA//6M+GA= Date: Thu, 22 Sep 2016 08:36:41 +0000 Message-ID: References: <7d0e88fff8e64591ac31be3adbbf763c@SIWEX5A.sing.micron.com> <20160920100716.131d3647@gandalf.local.home> <0e38f79fdc1f4671943da74764c15050@SIWEX5A.sing.micron.com> <20160921171307.3fb84c87@xhacker> <20160921141705.6ab0be03@gandalf.local.home> In-Reply-To: <20160921141705.6ab0be03@gandalf.local.home> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.160.29.124] x-tm-as-product-ver: SMEX-12.0.0.1350-8.000.1202-22592.005 x-tm-as-result: No--44.924700-0.000000-31 x-tm-as-matchedid: 147014-150567-701625-704425-700685-139006-139010-700755-8 51106-700648-703523-704247-106660-708797-700075-110462-706891-121113-705178 -705861-702020-700107-136304-121270-703283-701480-105180-703788-862433-7071 63-148004-148133-20043-42000-42003 x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No x-mt-checkinternalsenderrule: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Steven Rostedt [mailto:rostedt@goodmis.org] > Sent: Mittwoch, 21. September 2016 20:17 > To: Jisheng Zhang > Cc: Bean Huo (beanhuo) ; Zoltan Szubbocsev > (zszubbocsev) ; catalin.marinas@arm.com; > will.deacon@arm.com; rfi@lists.rocketboards.org; linux- > kernel@vger.kernel.org; mingo@redhat.com; linux-arm- > kernel@lists.infradead.org > Subject: Re: ftrace function_graph causes system crash > > On Wed, 21 Sep 2016 17:13:07 +0800 > Jisheng Zhang wrote: > > > I'm not sure whether the commit d6df3576e6b4 > ("clocksource/drivers/arm_global_timer > > : Prevent ftrace recursion") can fix this issue. > > > > this commit is merged since v4.3, I noticed your kernel version is v4.0 > > BTW, yes, that would be the fix. > > -- Steve > > > > > Thanks, > > Jisheng > > > > > Do you know now how to deeply debug and trace which line is wrong > through Ftrace? > > > Hi, Steven and Jisheng Thanks to both warm-hearted guys. I merged d6df3576e6b4 patch into my kernel 4.0. Then it is true, no cash appears again. I have one more question that current ftrace can trace DMA latency, include mapping and unmapping? Means I want to know when one BIO request be completed. Just like blktrace. But blktrace can not tell me the function calling sequence. --Bean