public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* TRACE_EVENT() declarations belong to include/trace/
@ 2010-04-12 21:45 Mathieu Desnoyers
  2010-04-12 22:01 ` Steven Rostedt
  2010-04-12 22:04 ` Frederic Weisbecker
  0 siblings, 2 replies; 7+ messages in thread
From: Mathieu Desnoyers @ 2010-04-12 21:45 UTC (permalink / raw)
  To: Steven Rostedt, Anton Blanchard; +Cc: Paul Mackerras, linux-kernel

Hi,

Ranting about:

commit 1bf4af165050d90ea6659ffb2536ec8ca783aab5
Author: Anton Blanchard <anton@samba.org>
Date:   Mon Oct 26 18:47:42 2009 +0000

    powerpc: tracing: Add powerpc tracepoints for interrupt entry and exit

Why are there TRACE_EVENT() declarations in arch/powerpc/include/asm/trace.h for
irq_entry/exit ?

What's so special about them that they cannot be put in linux/trace/ ?

I'm all for the trace_irq_entry/exit instrumentation, but I don't see any good
in adding event declarations outside of include/trace/.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-13  0:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-12 21:45 TRACE_EVENT() declarations belong to include/trace/ Mathieu Desnoyers
2010-04-12 22:01 ` Steven Rostedt
2010-04-12 22:04 ` Frederic Weisbecker
2010-04-12 22:17   ` Mathieu Desnoyers
2010-04-12 23:17     ` Anton Blanchard
2010-04-13  0:27       ` Mathieu Desnoyers
2010-04-12 23:24   ` Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox