LKML Archive on
help / color / mirror / Atom feed
From: Steven Rostedt <>
To: Masami Hiramatsu <>
Cc: Ingo Molnar <>,
	"Naveen N . Rao" <>,
	Anil S Keshavamurthy <>,
	"David S . Miller" <>,,
Subject: Re: [PATCH 0/2] Enable new kprobe event at boot
Date: Tue, 21 May 2019 09:33:17 -0400	[thread overview]
Message-ID: <20190521093317.7d698f79@gandalf.local.home> (raw)
In-Reply-To: <155842537599.4253.14690293652007233645.stgit@devnote2>

On Tue, 21 May 2019 16:56:16 +0900
Masami Hiramatsu <> wrote:

> Note that 'trace_event=' option enables trace event at very early
> timing, but the events added by 'kprobe_event=' are enabled right
> before enabling device drivers at this point. It is enough for
> tracing device driver initialization etc.


I wonder if we can have this called before the trace_event boot is
analyzed. Then have the kprobe_event work more like the kprobe_events
file, and not enable the kprobes but only create them. If you want to
enable them you do a trace_event=kprobes as well.

Perhaps we could enable kprobes at early init?

What do you think? Or is there something else in kprobes that prevents
such an early enabling of it?

-- Steve

  parent reply	other threads:[~2019-05-21 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-21  7:56 Masami Hiramatsu
2019-05-21  7:56 ` [PATCH 1/2] kprobes: Initialize kprobes at subsys_initcall Masami Hiramatsu
2019-05-21  7:56 ` [PATCH 2/2] tracing/kprobe: Add kprobe_event= boot parameter Masami Hiramatsu
2019-05-21 13:33 ` Steven Rostedt [this message]
2019-05-21 15:39   ` [PATCH 0/2] Enable new kprobe event at boot Masami Hiramatsu
2019-05-22  7:30     ` Masami Hiramatsu
2019-05-22  8:02       ` Masami Hiramatsu

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:

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

  git send-email \
    --in-reply-to=20190521093317.7d698f79@gandalf.local.home \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH 0/2] Enable new kprobe event at boot' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).