[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-870915e047a2da695be118d32dd5a900f0c3e933@git.kernel.org>
Date: Sun, 9 Jan 2011 21:12:04 GMT
From: tip-bot for Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
mathieu.desnoyers@...icios.com, rostedt@...dmis.org,
arjan@...ux.intel.com, tglx@...utronix.de
Subject: [tip:perf/urgent] tracing: Fix TRACE_EVENT power tracepoint creation
Commit-ID: 870915e047a2da695be118d32dd5a900f0c3e933
Gitweb: http://git.kernel.org/tip/870915e047a2da695be118d32dd5a900f0c3e933
Author: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
AuthorDate: Thu, 28 Oct 2010 11:31:17 -0400
Committer: Steven Rostedt <rostedt@...dmis.org>
CommitDate: Fri, 7 Jan 2011 23:26:29 -0500
tracing: Fix TRACE_EVENT power tracepoint creation
DEFINE_TRACE should also exist when CONFIG_EVENT_TRACING=n. Otherwise, setting
only TRACEPOINTS=y is broken.
Acked-by: Arjan van de Ven <arjan@...ux.intel.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
LKML-Reference: <20101028153117.GA4051@...stal>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
kernel/Makefile | 1 +
kernel/trace/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/Makefile b/kernel/Makefile
index 0b5ff08..e0f2831 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -100,6 +100,7 @@ obj-$(CONFIG_FUNCTION_TRACER) += trace/
obj-$(CONFIG_TRACING) += trace/
obj-$(CONFIG_X86_DS) += trace/
obj-$(CONFIG_RING_BUFFER) += trace/
+obj-$(CONFIG_TRACEPOINTS) += trace/
obj-$(CONFIG_SMP) += sched_cpupri.o
obj-$(CONFIG_IRQ_WORK) += irq_work.o
obj-$(CONFIG_PERF_EVENTS) += perf_event.o
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile
index 53f3381..761c510 100644
--- a/kernel/trace/Makefile
+++ b/kernel/trace/Makefile
@@ -52,7 +52,7 @@ obj-$(CONFIG_EVENT_TRACING) += trace_event_perf.o
endif
obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o
obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o
-obj-$(CONFIG_EVENT_TRACING) += power-traces.o
+obj-$(CONFIG_TRACEPOINTS) += power-traces.o
ifeq ($(CONFIG_TRACING),y)
obj-$(CONFIG_KGDB_KDB) += trace_kdb.o
endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists