diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-01-16 19:39:40 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:21:44 -0400 |
commit | cddade083e5ea74cba6f0e4b2fa10c6bbec1336c (patch) | |
tree | 83834a457cfd6b52d895629036f84a1aed36ea2f /litmus/sched_task_trace.c | |
parent | a084c01569bcfe13fd880a0b1e3a9026629a89da (diff) |
Add optional dynamic assignment of tracing devices major nr
Setting FT_TASK_TRACE_MAJOR, LOG_MAJOR, FT_TRACE_MAJOR to 0
allows to have them automatically assigned by the kernel
Diffstat (limited to 'litmus/sched_task_trace.c')
-rw-r--r-- | litmus/sched_task_trace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index b7ea6d4e6e57..b59105110d7f 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -15,6 +15,8 @@ | |||
15 | #include <litmus/feather_trace.h> | 15 | #include <litmus/feather_trace.h> |
16 | #include <litmus/ftdev.h> | 16 | #include <litmus/ftdev.h> |
17 | 17 | ||
18 | |||
19 | /* set MAJOR to 0 to have it dynamically assigned */ | ||
18 | #define FT_TASK_TRACE_MAJOR 253 | 20 | #define FT_TASK_TRACE_MAJOR 253 |
19 | #define NO_EVENTS 4096 /* this is a buffer of 12 4k pages per CPU */ | 21 | #define NO_EVENTS 4096 /* this is a buffer of 12 4k pages per CPU */ |
20 | 22 | ||