Re: Tracing/ftrace: trouble with trace_entries and trace_pipe

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Monday, September 15, 2008 - 2:14 pm

On Mon, 15 Sep 2008, Pekka Paalanen wrote:


You write to it the same number that you read from and it returned 
something different?? That is indeed a bug, since it should definitely 
detect that. Is this linux-tip? I'll have to play with it to make sure 
nothing broke it recently.

I just tried the latest mainline, and it seemed to work there.


No, tracer_enabled is something that is internal to the tracer 
infrastructure. 

if you read from either tracing/trace or tracing/latency_trace it will 
disable the tracer while you dump. But you should not be doing that. The 
trace_pipe should not disable that either.

-- Steve

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch] Tracing/ftrace: Adds a marker to allow user comments, Frédéric Weisbecker, (Sun Aug 24, 2:42 pm)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Mon Aug 25, 6:59 am)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Mon Aug 25, 10:52 am)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Wed Aug 27, 2:59 am)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Thu Aug 28, 3:04 am)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Thu Aug 28, 9:03 am)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Thu Sep 4, 9:20 am)
Re: [Patch] Tracing/ftrace: Adds a marker to allow user co ..., Frédéric Weisbecker, (Sat Sep 6, 4:39 am)
Tracing/ftrace: trouble with trace_entries and trace_pipe, Pekka Paalanen, (Mon Sep 15, 12:47 pm)
Re: Tracing/ftrace: trouble with trace_entries and trace_pipe, Steven Rostedt, (Mon Sep 15, 2:14 pm)
Re: Tracing/ftrace: trouble with trace_entries and trace_pipe, Frédéric Weisbecker, (Tue Sep 16, 1:57 am)
[PATCH 1/7] x86 mmiotrace: fix a rare memory leak., Pekka Paalanen, (Tue Sep 16, 11:54 am)
[PATCH 2/7] ftrace: move mmiotrace functions out of trace.c., Pekka Paalanen, (Tue Sep 16, 11:56 am)
[PATCH 3/7] ftrace: add trace_vprintk(), Pekka Paalanen, (Tue Sep 16, 11:58 am)
[PATCH 4/7] x86 mmiotrace: implement mmiotrace_printk()., Pekka Paalanen, (Tue Sep 16, 12:00 pm)
[PATCH 5/7] mmiotrace: handle TRACE_PRINT entries., Pekka Paalanen, (Tue Sep 16, 12:02 pm)
[PATCH 6/7] mmiotrace: remove left-over marker cruft., Pekka Paalanen, (Tue Sep 16, 12:03 pm)
[PATCH 7/7] ftrace: inject markers via trace_marker file., Pekka Paalanen, (Tue Sep 16, 12:06 pm)
Re: [PATCH 3/7] ftrace: add trace_vprintk(), Steven Rostedt, (Tue Sep 16, 1:06 pm)
Re: [PATCH 5/7] mmiotrace: handle TRACE_PRINT entries., Steven Rostedt, (Tue Sep 16, 1:11 pm)
Re: [PATCH 5/7] mmiotrace: handle TRACE_PRINT entries., Pekka Paalanen, (Tue Sep 16, 2:24 pm)
Re: [PATCH 3/7] ftrace: add trace_vprintk(), Ingo Molnar, (Wed Sep 17, 4:42 am)
Re: Tracing/ftrace: trouble with trace_entries and trace_pipe, Frédéric Weisbecker, (Wed Sep 17, 5:41 am)