login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
5
Re: How to write marker info in MMIO trace from kernel
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Larry Finger
Subject:
Re: How to write marker info in MMIO trace from kernel
Date: Tuesday, May 4, 2010 - 5:33 pm
On 05/04/2010 05:58 PM, Steven Rostedt wrote:
quoted text
> On Tue, 2010-05-04 at 17:27 -0500, Larry Finger wrote: > >> Thanks for the info. One other question - when I write only mmiotrace to >> the current_tracer, the trace_printk() stuff does not end up in the >> buffer. I can get it by using the "sysprof" tracer, but that has a lot >> of stuff I do not want. Did I miss some configuration? My list of >> available tracers is "blk kmemtrace mmiotrace wakeup_rt wakeup function >> sysprof sched_switch nop". > > Ug, that's because the mmiotrace handles its own prints and ignores > anything it does not know about. Here, try this patch: > > -- Steve > > diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c > index 017fa37..8652f28 100644 > --- a/kernel/trace/trace_mmiotrace.c > +++ b/kernel/trace/trace_mmiotrace.c > @@ -282,7 +282,7 @@ static enum print_line_t mmio_print_line(struct trace_iterator *iter) > case TRACE_PRINT: > return mmio_print_mark(iter); > default: > - return TRACE_TYPE_HANDLED; /* ignore unknown entries */ > + return TRACE_TYPE_UNHANDLED; > } > }
That did the trick. Thanks a lot, Larry --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
How to write marker info in MMIO trace from kernel
, Larry Finger
, (Tue May 4, 11:36 am)
Re: How to write marker info in MMIO trace from kernel
, Steven Rostedt
, (Tue May 4, 11:42 am)
Re: How to write marker info in MMIO trace from kernel
, Larry Finger
, (Tue May 4, 3:27 pm)
Re: How to write marker info in MMIO trace from kernel
, Steven Rostedt
, (Tue May 4, 3:58 pm)
Re: How to write marker info in MMIO trace from kernel
, Larry Finger
, (Tue May 4, 5:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Justin Mattock
Re: macbook pro dvd playback after suspend Buffer I/O error
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Uwe
Re: "bash: git-upload-pack: command not found" ??
Ben Schmidt
Getting the path right for git over SSH
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
linux-netdev
:
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
Patrick McHardy
Re: [ANNOUNCE]: First release of nftables
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
openbsd
observed spamd behavior
Ted Unangst
Re: OpenSMTPd actual development and integration
Paul M
Corrupted RAIDFrame device
BetClic
Benfica vs Porto - Qual o seu palpite?
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
[SCSI] scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler
Linux Kernel Mailing List
ALSA: cosmetic: make hda intel interrupt name consistent with others
Linux Kernel Mailing List
USB: gadget: audio: provide correct device id
Colocation donated by:
Syndicate