diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ring_buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h index 8e6646a54acf..f5e793d69bd3 100644 --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h | |||
@@ -128,10 +128,12 @@ void ring_buffer_normalize_time_stamp(int cpu, u64 *ts); | |||
128 | void tracing_on(void); | 128 | void tracing_on(void); |
129 | void tracing_off(void); | 129 | void tracing_off(void); |
130 | void tracing_off_permanent(void); | 130 | void tracing_off_permanent(void); |
131 | int tracing_is_on(void); | ||
131 | #else | 132 | #else |
132 | static inline void tracing_on(void) { } | 133 | static inline void tracing_on(void) { } |
133 | static inline void tracing_off(void) { } | 134 | static inline void tracing_off(void) { } |
134 | static inline void tracing_off_permanent(void) { } | 135 | static inline void tracing_off_permanent(void) { } |
136 | static inline int tracing_is_on(void) { return 0; } | ||
135 | #endif | 137 | #endif |
136 | 138 | ||
137 | void *ring_buffer_alloc_read_page(struct ring_buffer *buffer); | 139 | void *ring_buffer_alloc_read_page(struct ring_buffer *buffer); |