From: Steven Rostedt <rostedt@goodmis.org>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: How to write marker info in MMIO trace from kernel
Date: Tue, 04 May 2010 14:42:59 -0400 [thread overview]
Message-ID: <1272998579.9739.235.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <4BE06933.9080202@lwfinger.net>
On Tue, 2010-05-04 at 13:36 -0500, Larry Finger wrote:
> Stephen,
>
> I hope you are the correct person for this question.
>
> I would like to write information into the MMIO trace file similar to
> what the user space write to /sys/.../trace_marker would accomplish,
> however, I want to do it in place of printk statements in the driver I'm
> tracing. Do you have any suggestions on how to do this? I have tools to
> merge the trace dump with dmesg output, but the latter lags behind and I
> do not get good correlation.
You can use "trace_printk()". I think that is what you are looking for.
-- Steve
next prev parent reply other threads:[~2010-05-04 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 18:36 Larry Finger
2010-05-04 18:42 ` Steven Rostedt [this message]
2010-05-04 22:27 ` Larry Finger
2010-05-04 22:58 ` Steven Rostedt
2010-05-05 0:33 ` Larry Finger
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=1272998579.9739.235.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=Larry.Finger@lwfinger.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®