RE: ftrace function_graph causes system crash

2016-09-22 Thread Bean Huo (beanhuo)
ron.com>; catalin.mari...@arm.com; > will.dea...@arm.com; r...@lists.rocketboards.org; linux- > ker...@vger.kernel.org; mi...@redhat.com; linux-arm- > ker...@lists.infradead.org > Subject: Re: ftrace function_graph causes system crash > > On Wed, 21 Sep 2016 17:13:07 +0800 &

RE: ftrace function_graph causes system crash

2016-09-22 Thread Bean Huo (beanhuo)
rds.org; linux- > ker...@vger.kernel.org; mi...@redhat.com; linux-arm- > ker...@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 d6df3

Re: ftrace function_graph causes system crash

2016-09-21 Thread Steven Rostedt
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

Re: ftrace function_graph causes system crash

2016-09-21 Thread Steven Rostedt
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

Re: ftrace function_graph causes system crash

2016-09-21 Thread Steven Rostedt
On Wed, 21 Sep 2016 07:50:58 + "Bean Huo (beanhuo)" wrote: > > Hi, Steve > Thanks very much! This is a very useful trace tool, I now know the problem > function, > It is gt_counter_read, if not trace this function, ftrace function_graph work > well. > Do you know now

Re: ftrace function_graph causes system crash

2016-09-21 Thread Steven Rostedt
On Wed, 21 Sep 2016 07:50:58 + "Bean Huo (beanhuo)" wrote: > > Hi, Steve > Thanks very much! This is a very useful trace tool, I now know the problem > function, > It is gt_counter_read, if not trace this function, ftrace function_graph work > well. > Do you know now how to deeply debug

Re: ftrace function_graph causes system crash

2016-09-21 Thread Jisheng Zhang
lt;bean...@micron.com> > > Cc: Zoltan Szubbocsev (zszubbocsev) <zszubboc...@micron.com>; > > catalin.mari...@arm.com; will.dea...@arm.com; r...@lists.rocketboards.org; > > linux-kernel@vger.kernel.org; mi...@redhat.com; linux-arm- > > ker...@lists.infradead.org > >

Re: ftrace function_graph causes system crash

2016-09-21 Thread Jisheng Zhang
eanhuo) > > Cc: Zoltan Szubbocsev (zszubbocsev) ; > > catalin.mari...@arm.com; will.dea...@arm.com; r...@lists.rocketboards.org; > > linux-kernel@vger.kernel.org; mi...@redhat.com; linux-arm- > > ker...@lists.infradead.org > > Subject: Re: ftrace function_graph causes system

RE: ftrace function_graph causes system crash

2016-09-21 Thread Bean Huo (beanhuo)
alin.mari...@arm.com; will.dea...@arm.com; r...@lists.rocketboards.org; > linux-kernel@vger.kernel.org; mi...@redhat.com; linux-arm- > ker...@lists.infradead.org > Subject: Re: ftrace function_graph causes system crash > > On Tue, 20 Sep 2016 13:10:39 + > "Bean Huo (beanh

RE: ftrace function_graph causes system crash

2016-09-21 Thread Bean Huo (beanhuo)
s.rocketboards.org; > linux-kernel@vger.kernel.org; mi...@redhat.com; linux-arm- > ker...@lists.infradead.org > Subject: Re: ftrace function_graph causes system crash > > On Tue, 20 Sep 2016 13:10:39 + > "Bean Huo (beanhuo)" wrote: > > > Hi, al

Re: ftrace function_graph causes system crash

2016-09-20 Thread Steven Rostedt
On Tue, 20 Sep 2016 13:10:39 + "Bean Huo (beanhuo)" wrote: > Hi, all > I just use ftrace to do some latency study, found that function_graph can not > Work, as long as enable it, will cause kernel panic. I searched this online. > Found that there are also some cause the

Re: ftrace function_graph causes system crash

2016-09-20 Thread Steven Rostedt
On Tue, 20 Sep 2016 13:10:39 + "Bean Huo (beanhuo)" wrote: > Hi, all > I just use ftrace to do some latency study, found that function_graph can not > Work, as long as enable it, will cause kernel panic. I searched this online. > Found that there are also some cause the same as mine. I am a