From: Johannes Berg <johannes@sipsolutions.net>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: rostedt@goodmis.org, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: collecting static data related to tracing
Date: Wed, 19 May 2010 10:15:31 +0200 [thread overview]
Message-ID: <1274256931.3874.3.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <20100519072838.GD5704@nowhere>
On Wed, 2010-05-19 at 09:28 +0200, Frederic Weisbecker wrote:
> > Sounds good, although it does require that I tell people who want to
> > record to also install the recording plugin, but that should be
> > manageable :) I can just dig out the data from the regular debugfs once
> > I add files containing it.
> This is a place where events injection might be suitable perhaps.
> Either kernel or user space event injection.
>
> kernel space injection would be a simple trace event declared that
> have a callback called when it gets enabled. This callback would
> inject any events it wants.
Indeed, that is a good point, and it would also allow us to handle
hotplugging with the same event by sending it when a new device shows
up, and additionally when it is enabled to dump the current state.
johannes
next prev parent reply other threads:[~2010-05-19 8:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 14:09 Johannes Berg
2010-05-18 14:41 ` Steven Rostedt
2010-05-18 14:45 ` Johannes Berg
2010-05-19 7:28 ` Frederic Weisbecker
2010-05-19 8:15 ` Johannes Berg [this message]
2010-05-19 14:44 ` Steven Rostedt
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=1274256931.3874.3.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/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
Powered by JetHome