diff options
Diffstat (limited to 'include/litmus/debug_trace.h')
-rw-r--r-- | include/litmus/debug_trace.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/litmus/debug_trace.h b/include/litmus/debug_trace.h index 0f99be01d569..b743aa96de79 100644 --- a/include/litmus/debug_trace.h +++ b/include/litmus/debug_trace.h | |||
@@ -22,16 +22,4 @@ extern atomic_t __log_seq_no; | |||
22 | #define TRACE_CUR(fmt, args...) \ | 22 | #define TRACE_CUR(fmt, args...) \ |
23 | TRACE_TASK(current, fmt, ## args) | 23 | TRACE_TASK(current, fmt, ## args) |
24 | 24 | ||
25 | #define TRACE_BUG_ON(cond) \ | ||
26 | do { if (cond) TRACE("BUG_ON(%s) at %s:%d " \ | ||
27 | "called from %p current=%s/%d state=%d " \ | ||
28 | "flags=%x partition=%d cpu=%d rtflags=%d"\ | ||
29 | " job=%u timeslice=%u\n", \ | ||
30 | #cond, __FILE__, __LINE__, __builtin_return_address(0), current->comm, \ | ||
31 | current->pid, current->state, current->flags, \ | ||
32 | get_partition(current), smp_processor_id(), get_rt_flags(current), \ | ||
33 | current->rt_param.job_params.job_no, \ | ||
34 | current->rt.time_slice\ | ||
35 | ); } while(0); | ||
36 | |||
37 | #endif | 25 | #endif |