Re: Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-26 Thread Steven Rostedt
On Mon, 24 Jul 2017 21:40:24 + "Brandt, Todd E" wrote: > Function graph tracing is indeed the target, as its the basis of the > bootgraph > tool. However, kprobes would work just as well. What's the difference in > effort > between enabling kprobes for early boot vs function graph trace? >

Re: Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-24 Thread Huang, Ying
Steven Rostedt writes: > On Mon, 24 Jul 2017 13:46:07 +0800 > "Huang\, Ying" wrote: > >> Hi, Steven, >> >> We are working on parallelizing secondary CPU bootup. So we need to >> measure the bootup time of secondary CPU, that is, measure time spent in >> smp_init() and its callees. But we fou

RE: Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-24 Thread Brandt, Todd E
> > On Mon, 24 Jul 2017 13:46:07 +0800 > "Huang\, Ying" wrote: > > > Hi, Steven, > > > > We are working on parallelizing secondary CPU bootup. So we need to > > measure the bootup time of secondary CPU, that is, measure time spent in > > smp_init() and its callees. But we found that ftrace no

Re: Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-24 Thread Steven Rostedt
On Mon, 24 Jul 2017 13:46:07 +0800 "Huang\, Ying" wrote: > Hi, Steven, > > We are working on parallelizing secondary CPU bootup. So we need to > measure the bootup time of secondary CPU, that is, measure time spent in > smp_init() and its callees. But we found that ftrace now doesn't > suppor

Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-23 Thread Huang, Ying
Hi, Steven, We are working on parallelizing secondary CPU bootup. So we need to measure the bootup time of secondary CPU, that is, measure time spent in smp_init() and its callees. But we found that ftrace now doesn't support measure time spent in smp_init() because it is called too early (befo