mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: "Brandt, Todd E" <todd.e.brandt@intel.com>
Cc: "Huang, Ying" <ying.huang@intel.com>,
	"Liu, Mengyang" <mengyang.liu@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Is it possible to use ftrace to measure secondary CPU bootup time
Date: Wed, 26 Jul 2017 17:20:57 -0400	[thread overview]
Message-ID: <20170726172057.6a9dd7db@vmware.local.home> (raw)
In-Reply-To: <11E08D716F0541429B7042699DD5C1A1A45814E1@FMSMSX103.amr.corp.intel.com>

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

  reply	other threads:[~2017-07-26 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24  5:46 Huang, Ying
2017-07-24  9:17 ` Steven Rostedt
2017-07-24 21:40   ` Brandt, Todd E
2017-07-26 21:20     ` Steven Rostedt [this message]
2017-07-25  0:34   ` Huang, Ying

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170726172057.6a9dd7db@vmware.local.home \
    --to=rostedt@goodmis.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mengyang.liu@intel.com \
    --cc=todd.e.brandt@intel.com \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®