From fa5b9bed1f84599a8a4ee1666ac7eda6cf71ad39 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Thu, 17 May 2007 15:23:48 -0400 Subject: Make the inclusion of sched_trace_XXX() and TRACE() a configurable option. This allows us to remove the debugging code from benchmarking kernels. --- include/linux/sched_trace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/sched_trace.h b/include/linux/sched_trace.h index 67395e6e0c..47cd4ed5e0 100644 --- a/include/linux/sched_trace.h +++ b/include/linux/sched_trace.h @@ -87,7 +87,7 @@ typedef struct { pid_t donor; } cap_allocation_record_t; -#ifdef SCHED_TASK_TRACE +#ifdef CONFIG_SCHED_TASK_TRACE void sched_trace_scheduler_invocation(void); void sched_trace_task_arrival(struct task_struct *t); @@ -137,7 +137,7 @@ void sched_trace_server_scheduled(int id, task_class_t class, #endif -#ifdef SCHED_DEBUG_TRACE +#ifdef CONFIG_SCHED_DEBUG_TRACE void sched_trace_log_message(const char* fmt, ...); #else -- cgit v1.2.2