public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing: Remove the stale include/trace/power.h
@ 2009-11-18 21:06 Josh Stone
  2009-11-18 22:06 ` Arjan van de Ven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Josh Stone @ 2009-11-18 21:06 UTC (permalink / raw)
  To: LKML
  Cc: Josh Stone, Frank Ch. Eigler, Arjan van de Ven, Peter Zijlstra,
	Paul Mackerras, Frederic Weisbecker, Ingo Molnar

Commit 6161352 moved the power tracing to include/trace/events/, but
left the old header behind.  No one is using the old header, and its
declarations are now incorrect, so it should be removed.

Signed-off-by: Josh Stone <jistone@redhat.com>
Cc: "Frank Ch. Eigler" <fche@redhat.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
---
 include/trace/power.h |   32 --------------------------------
 1 files changed, 0 insertions(+), 32 deletions(-)
 delete mode 100644 include/trace/power.h

diff --git a/include/trace/power.h b/include/trace/power.h
deleted file mode 100644
index ef20466..0000000
--- a/include/trace/power.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef _TRACE_POWER_H
-#define _TRACE_POWER_H
-
-#include <linux/ktime.h>
-#include <linux/tracepoint.h>
-
-enum {
-	POWER_NONE = 0,
-	POWER_CSTATE = 1,
-	POWER_PSTATE = 2,
-};
-
-struct power_trace {
-	ktime_t			stamp;
-	ktime_t			end;
-	int			type;
-	int			state;
-};
-
-DECLARE_TRACE(power_start,
-	TP_PROTO(struct power_trace *it, unsigned int type, unsigned int state),
-	      TP_ARGS(it, type, state));
-
-DECLARE_TRACE(power_mark,
-	TP_PROTO(struct power_trace *it, unsigned int type, unsigned int state),
-	      TP_ARGS(it, type, state));
-
-DECLARE_TRACE(power_end,
-	TP_PROTO(struct power_trace *it),
-	      TP_ARGS(it));
-
-#endif /* _TRACE_POWER_H */
-- 
1.6.5.2


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

end of thread, other threads:[~2009-11-19  4:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 21:06 [PATCH] tracing: Remove the stale include/trace/power.h Josh Stone
2009-11-18 22:06 ` Arjan van de Ven
2009-11-19  3:08 ` Frederic Weisbecker
2009-11-19  4:43 ` [tip:tracing/core] " tip-bot for Josh Stone

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