Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697568

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

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: Is it possible to use ftrace to measure secondary CPU bootup time
Date 2017-07-26 23:30 +0200
Message-ID <u7C2u-5CF-15@gated-at.bofh.it> (permalink)
References <u6EpH-Fb-1@gated-at.bofh.it> <u6HGX-2Pd-11@gated-at.bofh.it> <u6ToL-2fn-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 24 Jul 2017 21:40:24 +0000
"Brandt, Todd E" <todd.e.brandt@intel.com> 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?
> 

Hmm, good question. But then again, if you are only worried about
timings, tracing functions and looking at how long the next function
happens after the one you are interested in, should give you a good
idea of how long that function took.

If there is more interest, I could spend some time seeing if I can get
function graph tracing working early.

-- Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is it possible to use ftrace to measure secondary CPU bootup time "Huang\, Ying" <ying.huang@intel.com> - 2017-07-24 07:50 +0200
  Re: Is it possible to use ftrace to measure secondary CPU bootup  time Steven Rostedt <rostedt@goodmis.org> - 2017-07-24 11:20 +0200
    RE: Is it possible to use ftrace to measure secondary CPU bootup  time "Brandt, Todd E" <todd.e.brandt@intel.com> - 2017-07-24 23:50 +0200
      Re: Is it possible to use ftrace to measure secondary CPU bootup  time Steven Rostedt <rostedt@goodmis.org> - 2017-07-26 23:30 +0200
    Re: Is it possible to use ftrace to measure secondary CPU bootup time "Huang\, Ying" <ying.huang@intel.com> - 2017-07-25 02:40 +0200

csiph-web