login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
7
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have data passed to tracepoint callbacks
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Steven Rostedt
Subject:
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have data passed to tracepoint callbacks
Date: Friday, May 7, 2010 - 12:10 pm
On Fri, 2010-05-07 at 20:06 +0200, Frederic Weisbecker wrote:
quoted text
> No, what I meant is that you have: > > #ifdef CONFIG_TRACEPOINTS > [...] > +#define DECLARE_TRACE_NOARGS(name) \ > __DECLARE_TRACE(name, void, , void *__data, __data) > > #define DECLARE_TRACE(name, proto, args) \ > __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ > PARAMS(proto, void *__data), \ > PARAMS(args, __data)) > [...] > #else > [...] > +#define DECLARE_TRACE_NOARGS(name) \ > __DECLARE_TRACE(name, void, , void *__data, __data) > > #define DECLARE_TRACE(name, proto, args) \ > __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ > PARAMS(proto, void *__data), \ > PARAMS(args, __data) > [...] > #endif > > > See? They seem to be the exact same version, so this could be only > one version outside the ifdef. > And the CONFIG_TRACEPOINTS on/off case is dealt from __DECLARE_TRACE().
Ah, I see (said the blind man as he slipped and fell on the ice). -- Steve --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/9 - v2][RFC] tracing: Lowering the footprint of T ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 1/9 - v2][RFC] tracing: Create class struct for events
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 2/9 - v2][RFC] tracing: Let tracepoints have data p ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 3/9 - v2][RFC] tracing: Remove per event trace regi ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 4/9 - v2][RFC] tracing: Move fields from event to c ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 5/9 - v2][RFC] tracing: Move raw_init from events t ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 6/9 - v2][RFC] tracing: Allow events to share their ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 7/9 - v2][RFC] tracing: Move print functions into e ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 8/9 - v2][RFC] tracing: Remove duplicate id informa ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
[PATCH 9/9 - v2][RFC] tracing: Combine event filter_active ...
, Steven Rostedt
, (Mon May 3, 8:40 pm)
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have da ...
, Frederic Weisbecker
, (Thu May 6, 8:52 pm)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Frederic Weisbecker
, (Thu May 6, 9:20 pm)
Re: [PATCH 1/9 - v2][RFC] tracing: Create class struct for ...
, Frederic Weisbecker
, (Thu May 6, 9:21 pm)
Re: [PATCH 4/9 - v2][RFC] tracing: Move fields from event ...
, Frederic Weisbecker
, (Thu May 6, 9:49 pm)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Li Zefan
, (Fri May 7, 1:20 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Steven Rostedt
, (Fri May 7, 5:42 am)
Re: [PATCH 4/9 - v2][RFC] tracing: Move fields from event ...
, Steven Rostedt
, (Fri May 7, 5:57 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Steven Rostedt
, (Fri May 7, 5:59 am)
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have da ...
, Steven Rostedt
, (Fri May 7, 7:09 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Mathieu Desnoyers
, (Fri May 7, 7:54 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Steven Rostedt
, (Fri May 7, 8:12 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Mathieu Desnoyers
, (Fri May 7, 8:31 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Steven Rostedt
, (Fri May 7, 8:43 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Frederic Weisbecker
, (Fri May 7, 11:01 am)
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have da ...
, Frederic Weisbecker
, (Fri May 7, 11:06 am)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Steven Rostedt
, (Fri May 7, 12:08 pm)
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have da ...
, Steven Rostedt
, (Fri May 7, 12:10 pm)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Frederic Weisbecker
, (Fri May 7, 1:03 pm)
Re: [PATCH 3/9 - v2][RFC] tracing: Remove per event trace ...
, Mathieu Desnoyers
, (Fri May 7, 1:58 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add