.. | .. |
---|
2 | 2 | #if !defined(_I915_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ) |
---|
3 | 3 | #define _I915_TRACE_H_ |
---|
4 | 4 | |
---|
| 5 | +#ifdef CONFIG_PREEMPT_RT_BASE |
---|
| 6 | +#define NOTRACE |
---|
| 7 | +#endif |
---|
| 8 | + |
---|
5 | 9 | #include <linux/stringify.h> |
---|
6 | 10 | #include <linux/types.h> |
---|
7 | 11 | #include <linux/tracepoint.h> |
---|
.. | .. |
---|
679 | 683 | TP_ARGS(rq) |
---|
680 | 684 | ); |
---|
681 | 685 | |
---|
682 | | -#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS) |
---|
| 686 | +#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS) && !defined(NOTRACE) |
---|
683 | 687 | DEFINE_EVENT(i915_request, i915_request_submit, |
---|
684 | 688 | TP_PROTO(struct i915_request *rq), |
---|
685 | 689 | TP_ARGS(rq) |
---|