LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Pekka Paalanen <pq@iki.fi>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: tracing and mmiotrace
Date: Sat, 22 Mar 2008 16:16:48 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0803221609550.12942@gandalf.stny.rr.com> (raw)
In-Reply-To: <20080322173245.01e69743@daedalus.pq.iki.fi>
Hi Pekka,
I'm on vacation at the moment, but will start up helping Ingo with ftrace
on Monday.
On Sat, 22 Mar 2008, Pekka Paalanen wrote:
> >
> > that's weird - _entry_ is NULL?
>
> Yes. See the patch, and my kernel log at
> http://jumi.lut.fi/~paalanen/scratch/tracing-dmesg1.txt
>
> First you see my check in __trace_special() trigger, and then NULL
> pointer dereference BUG at ffffffff80259332 which translates to
> kernel/trace/trace.c:639 in tracing_generic_entry_update(), line:
> entry->preempt_count = pc & 0xff;
> I don't understand why it tries to dereference NULL even when I
> check for it.
Interesting. I'll have to look into that more on Monday.
>
> ---
> Oh, and during bootup there is an error about -fstack-protector-all
> test failed.
>
> > > btw. currently 'cat /debug/tracing/trace' gives the
> > > print_func_help_header() and quits, it never stays waiting for more
> > > data.
> >
> > yeah - try "cat /debug/tracing/trace_pipe" for the waiting variant -
> > does that work better?
>
> Not really. IIRC it said "resource temporarily unavailable" until
> mmiotrace actually tried to produce data. No header there. So I
> cannot make "cat" ready to read and after that start tracing.
I'll have to clean up the trace_pipe code to be a bit more robust.
Thanks for doing this. I'll be getting more involved starting Monday.
-- Steve
next prev parent reply other threads:[~2008-03-22 20:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080321233955.66e75a57@daedalus.pq.iki.fi>
[not found] ` <20080322120746.GF13264@elte.hu>
2008-03-22 15:32 ` Pekka Paalanen
2008-03-22 20:16 ` Steven Rostedt [this message]
2008-03-23 11:01 ` Pekka Paalanen
2008-03-23 17:16 ` Pekka Paalanen
2008-03-30 18:12 ` Pekka Paalanen
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=Pine.LNX.4.58.0803221609550.12942@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=pq@iki.fi \
--subject='Re: tracing and mmiotrace' \
/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
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).