diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2009-04-24 12:10:28 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2009-04-24 12:10:28 -0400 |
| commit | 3d0d33c07d203296162e1b703e6027ac8e0edb0e (patch) | |
| tree | 59d0d177a40a90f7bdbba295834056624c1b92f6 /include | |
| parent | 97eb269d2f4661751bb820d862f4bd1dc5b3a551 (diff) | |
litmus config: make itpossible to compile without overhead tracing
Factor out ftdev support from overhead tracing.
Diffstat (limited to 'include')
| -rw-r--r-- | include/litmus/trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index b8157e88d8..620d1ac303 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef _SYS_TRACE_H_ | 1 | #ifndef _SYS_TRACE_H_ |
| 2 | #define _SYS_TRACE_H_ | 2 | #define _SYS_TRACE_H_ |
| 3 | 3 | ||
| 4 | #ifdef CONFIG_FEATHER_TRACE | 4 | #ifdef CONFIG_SCHED_OVERHEAD_TRACE |
| 5 | 5 | ||
| 6 | #include <litmus/feather_trace.h> | 6 | #include <litmus/feather_trace.h> |
| 7 | #include <litmus/feather_buffer.h> | 7 | #include <litmus/feather_buffer.h> |
| @@ -34,7 +34,7 @@ feather_callback void save_timestamp_task(unsigned long event, unsigned long t_p | |||
| 34 | 34 | ||
| 35 | #define TTIMESTAMP(id, task) ft_event1(id, save_timestamp_task, (unsigned long) task) | 35 | #define TTIMESTAMP(id, task) ft_event1(id, save_timestamp_task, (unsigned long) task) |
| 36 | 36 | ||
| 37 | #else /* !CONFIG_FEATHER_TRACE */ | 37 | #else /* !CONFIG_SCHED_OVERHEAD_TRACE */ |
| 38 | 38 | ||
| 39 | #define TIMESTAMP(id) /* no tracing */ | 39 | #define TIMESTAMP(id) /* no tracing */ |
| 40 | 40 | ||
