From: Peter Zijlstra <peterz@infradead.org>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: rostedt <rostedt@goodmis.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: Re: [RFC][BUG] tracer: Fails to work
Date: Thu, 28 Jan 2016 15:47:05 +0100 [thread overview]
Message-ID: <20160128144705.GS6356@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1616014588.6697.1453991896740.JavaMail.zimbra@efficios.com>
On Thu, Jan 28, 2016 at 02:38:16PM +0000, Mathieu Desnoyers wrote:
> ----- On Jan 28, 2016, at 8:57 AM, Peter Zijlstra peterz@infradead.org wrote:
>
> > On Thu, Jan 28, 2016 at 01:38:00PM +0000, Mathieu Desnoyers wrote:
> >
> >> Thoughts ?
> >
> > So ideally dumping the trace data would not depend on any of that,
> > because I can break it all :-)
> >
> > Not being able to access the trace data completely and utterly defeats
> > the purpose of having a tracer in the first place.
>
> One item I have on my todo list is to allow mapping
> the tracer buffers (lttng in my case) onto RAM that
> persists across reboots/kexec using dax and the pmem
> driver. Since the original system is clearly inactive
> after a reboot, we can read the buffers from memory
> without caring about synchronization.
I would expect the new kernel to use the same buffer for its tracing,
right? After all, there's no distinction between the old and new kernel
except a reboot.
In which case, my kernels often start babbling the moment I boot. So I
need to take care not to scribble the old data.
> That would be one possible way of handling your
> snapshot-of-buggy-kernel-trace-buffers use-case.
Now I wonder if my ipmipower -r is a warn reset :-)
(I'm assuming the pmem/dax stuff would simply use regular RAM to back
this stuff)
next prev parent reply other threads:[~2016-01-28 14:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 8:08 [RFC][BUG] tracer: Fails to work Peter Zijlstra
2016-01-28 13:38 ` Mathieu Desnoyers
2016-01-28 13:57 ` Peter Zijlstra
2016-01-28 14:18 ` Steven Rostedt
2016-01-28 14:38 ` Mathieu Desnoyers
2016-01-28 14:47 ` Peter Zijlstra [this message]
2016-01-28 14:53 ` Mathieu Desnoyers
2016-01-28 15:29 ` Peter Zijlstra
2016-01-28 15:55 ` 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=20160128144705.GS6356@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mingo@kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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