Re: [Patch] Tracing/ftrace: Adds a marker to allow user comments

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Thursday, September 4, 2008 - 11:11 am

On Thu, 4 Sep 2008, Pekka Paalanen wrote:


For logdev (my pet project from way back, and the latest ftrace is based 
on), I had a CUSTOM type. The API allowed to register a callback to a 
type, and it would associate that type to some number (descriptor) and 
pass that number back to you. Then you could use this number to write to 
the buffer using the CUSTOM type and registered number. On output, when a 
CUSTOM type is detected, it would read the custom.id (the number) and 
search for any registered callbacks to handle the entry.

This probably would not be too difficult to implement. Especially since it 
is already implemented in logdev.
(see http://rostedt.homelinux.com/logdev/)

-- 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 ..., Steven Rostedt, (Thu Sep 4, 11:11 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, 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)