On 04/10/2014 10:44 PM, Steven Rostedt wrote:
On Thu, 27 Mar 2014 14:14:44 +0800
wyang <[email protected]> wrote:

Hi guys,

I ran into a issue that the msleep(10) does not return promptly at boot
stage, kernel would take amount of time to boot up. since I wanna trace
timer at boot stage,
so I enabled a trace event via command line such as
"trace_event=timer:*", but unfortunately the kernel did not boot
successfully, so is there any method to
dump the trace event to console while kernel cannot boot up sucessfully?

Hi, I would have replied earlier, but I was traveling when you sent
this.

Can you modify the kernel? If so, you can add ftrace_dump(DUMP_ALL);
anywhere in the kernel. It will dump the ftrace buffer to console when
it is hit.

Steve,

Thanks for your response, I could modify my kernel, I would try it. Thank you again.

Wei

But this is a good reminder. I should add the function:dump filter
ability to the command line.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to