diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-17 15:23:48 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-17 15:23:48 -0400 |
| commit | fa5b9bed1f84599a8a4ee1666ac7eda6cf71ad39 (patch) | |
| tree | 142b0954ddfe61cbba68f16016cda87ff1dd8880 /include/linux | |
| parent | 823c4797800c77abf2bc365798a1d5f4c7a3ff6c (diff) | |
Make the inclusion of sched_trace_XXX() and TRACE() a configurable option.
This allows us to remove the debugging code from benchmarking kernels.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched_trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
| 87 | pid_t donor; | 87 | pid_t donor; |
| 88 | } cap_allocation_record_t; | 88 | } cap_allocation_record_t; |
| 89 | 89 | ||
| 90 | #ifdef SCHED_TASK_TRACE | 90 | #ifdef CONFIG_SCHED_TASK_TRACE |
| 91 | void sched_trace_scheduler_invocation(void); | 91 | void sched_trace_scheduler_invocation(void); |
| 92 | 92 | ||
| 93 | void sched_trace_task_arrival(struct task_struct *t); | 93 | void sched_trace_task_arrival(struct task_struct *t); |
| @@ -137,7 +137,7 @@ void sched_trace_server_scheduled(int id, task_class_t class, | |||
| 137 | #endif | 137 | #endif |
| 138 | 138 | ||
| 139 | 139 | ||
| 140 | #ifdef SCHED_DEBUG_TRACE | 140 | #ifdef CONFIG_SCHED_DEBUG_TRACE |
| 141 | void sched_trace_log_message(const char* fmt, ...); | 141 | void sched_trace_log_message(const char* fmt, ...); |
| 142 | 142 | ||
| 143 | #else | 143 | #else |
