X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=wrapper%2Ftrace-clock.c;h=d9bc956acb44c70c140520abea0340f1fe13702b;hb=507143bc5de50c0e5493d63fb5c300fa42326842;hp=23869ca831a79069d0f6336c5df1b2d834449919;hpb=5a2f5e92e422d87a28581ba97e6b1789ff743bc6;p=lttng-modules.git diff --git a/wrapper/trace-clock.c b/wrapper/trace-clock.c index 23869ca8..d9bc956a 100644 --- a/wrapper/trace-clock.c +++ b/wrapper/trace-clock.c @@ -27,3 +27,7 @@ DEFINE_PER_CPU(local_t, lttng_last_tsc); EXPORT_PER_CPU_SYMBOL(lttng_last_tsc); #endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) */ + +#ifdef LTTNG_CLOCK_NMI_SAFE_BROKEN +#warning "Your kernel implements a bogus nmi-safe clock source. Falling back to the non-nmi-safe clock source, which discards events traced from NMI context. Upgrade your kernel to resolve this situation." +#endif