X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=libringbuffer%2Fsmp.h;h=b04401e1d9a94f2d36e35d394e83035ba0eb2fd2;hp=ebeae66773c2ccec935619697417dd7aa2e0fd36;hb=071dec4386ff4c89d8b0f92ab1a8dbf079abd50c;hpb=e88c7263a3440484b3968f6abc314efd40f0c3f4 diff --git a/libringbuffer/smp.h b/libringbuffer/smp.h index ebeae667..b04401e1 100644 --- a/libringbuffer/smp.h +++ b/libringbuffer/smp.h @@ -7,6 +7,7 @@ #ifndef _LIBRINGBUFFER_SMP_H #define _LIBRINGBUFFER_SMP_H +#include "ust-helper.h" #include "getcpu.h" /* @@ -15,7 +16,9 @@ */ #define PER_CPU_MEM_SIZE 4096 +LTTNG_HIDDEN extern int __num_possible_cpus; +LTTNG_HIDDEN extern void _get_num_possible_cpus(void); static inline