X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsmp.h;h=5f81094fc802c7f6559d876c03ae6af6f4be13a4;hb=95fa2ba4fbbfac95bca6f437b2bb4389789b21eb;hp=563fe623591d46821664dcd6cb3750d421f85188;hpb=6ba0c2b259f1f99ed3ce8ee2e58e90bc393b704e;p=lttng-ust.git diff --git a/src/common/smp.h b/src/common/smp.h index 563fe623..5f81094f 100644 --- a/src/common/smp.h +++ b/src/common/smp.h @@ -13,7 +13,8 @@ * * If the sysconf call fails, don't populate the cache and return 0. */ -int num_possible_cpus(void); +int num_possible_cpus(void) + __attribute__((visibility("hidden"))); #define for_each_possible_cpu(cpu) \ for ((cpu) = 0; (cpu) < num_possible_cpus(); (cpu)++)