diff options
Diffstat (limited to 'include/linux/ring_buffer.h')
| -rw-r--r-- | include/linux/ring_buffer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h index 4acc552e9279..b6d4568795a7 100644 --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h | |||
| @@ -198,4 +198,10 @@ enum ring_buffer_flags { | |||
| 198 | RB_FL_OVERWRITE = 1 << 0, | 198 | RB_FL_OVERWRITE = 1 << 0, |
| 199 | }; | 199 | }; |
| 200 | 200 | ||
| 201 | #ifdef CONFIG_RING_BUFFER | ||
| 202 | int trace_rb_cpu_prepare(unsigned int cpu, struct hlist_node *node); | ||
| 203 | #else | ||
| 204 | #define trace_rb_cpu_prepare NULL | ||
| 205 | #endif | ||
| 206 | |||
| 201 | #endif /* _LINUX_RING_BUFFER_H */ | 207 | #endif /* _LINUX_RING_BUFFER_H */ |
