diff options
Diffstat (limited to 'include/linux/ring_buffer.h')
-rw-r--r-- | include/linux/ring_buffer.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h index 79fcbc4b09d6..b1a0068a5557 100644 --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h | |||
@@ -124,21 +124,6 @@ void ring_buffer_normalize_time_stamp(int cpu, u64 *ts); | |||
124 | size_t ring_buffer_page_len(void *page); | 124 | size_t ring_buffer_page_len(void *page); |
125 | 125 | ||
126 | 126 | ||
127 | /* | ||
128 | * The below functions are fine to use outside the tracing facility. | ||
129 | */ | ||
130 | #ifdef CONFIG_RING_BUFFER | ||
131 | void tracing_on(void); | ||
132 | void tracing_off(void); | ||
133 | void tracing_off_permanent(void); | ||
134 | int tracing_is_on(void); | ||
135 | #else | ||
136 | static inline void tracing_on(void) { } | ||
137 | static inline void tracing_off(void) { } | ||
138 | static inline void tracing_off_permanent(void) { } | ||
139 | static inline int tracing_is_on(void) { return 0; } | ||
140 | #endif | ||
141 | |||
142 | void *ring_buffer_alloc_read_page(struct ring_buffer *buffer); | 127 | void *ring_buffer_alloc_read_page(struct ring_buffer *buffer); |
143 | void ring_buffer_free_read_page(struct ring_buffer *buffer, void *data); | 128 | void ring_buffer_free_read_page(struct ring_buffer *buffer, void *data); |
144 | int ring_buffer_read_page(struct ring_buffer *buffer, void **data_page, | 129 | int ring_buffer_read_page(struct ring_buffer *buffer, void **data_page, |