Re: [PATCH 05/05] Linux Kernel Markers, non optimised architectures

2007-01-12 Thread Mathieu Desnoyers
* Mathieu Desnoyers ([EMAIL PROTECTED]) wrote: > > > > OK, well one problem is that it can cause a resched event to be lost, so > > you might say it has more side-effects without checking resched. > > [...] > If we are sure that we expect calls to preempt_schedule() from each of these > contexts,

Re: [PATCH 05/05] Linux Kernel Markers, non optimised architectures

2007-01-12 Thread Mathieu Desnoyers
* Nick Piggin ([EMAIL PROTECTED]) wrote: > Mathieu Desnoyers wrote: > >* Nick Piggin ([EMAIL PROTECTED]) wrote: > > > >>Mathieu Desnoyers wrote: > >> > >> > >>>+#define MARK(name, format, args...) \ > >>>+ do { \ > >>>+ static marker_probe_func *__mark_call_##name = \ > >>>+

Re: [PATCH 05/05] Linux Kernel Markers, non optimised architectures

2007-01-11 Thread Nick Piggin
Mathieu Desnoyers wrote: * Nick Piggin ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers wrote: +#define MARK(name, format, args...) \ + do { \ + static marker_probe_func *__mark_call_##name = \ + __mark_empty_function; \ + v

Re: [PATCH 05/05] Linux Kernel Markers, non optimised architectures

2007-01-11 Thread Mathieu Desnoyers
* Nick Piggin ([EMAIL PROTECTED]) wrote: > Mathieu Desnoyers wrote: > > >+#define MARK(name, format, args...) \ > >+do { \ > >+static marker_probe_func *__mark_call_##name = \ > >+__mark_empty_function; \ > >+volatile static char __ma

Re: [PATCH 05/05] Linux Kernel Markers, non optimised architectures

2007-01-11 Thread Nick Piggin
Mathieu Desnoyers wrote: +#define MARK(name, format, args...) \ + do { \ + static marker_probe_func *__mark_call_##name = \ + __mark_empty_function; \ + volatile static char __marker_enable_##name = 0; \ + stat

[PATCH 05/05] Linux Kernel Markers, non optimised architectures

2007-01-11 Thread Mathieu Desnoyers
Linux Kernel Markers, non optimised architectures This patch also includes marker code for non optimised architectures. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- /dev/null +++ b/include/asm-arm/marker.h @@ -0,0 +1,13 @@ +/* + * marker.h + * + * Code markup for dynamic and static t