X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Finstrumentation%2Fevents%2Fmodule.h;h=8ef31182f305741f53762bb71f312add76746c0f;hb=0e561dbfd6b9c0a9178e9f0f3e6ec5a3d3713f56;hp=3de0f0e6c53bac35cf7405a6d771bb16eaf37529;hpb=5f1c794bcce39ee8c401c735cf7e1907c0bc20fe;p=lttng-modules.git diff --git a/include/instrumentation/events/module.h b/include/instrumentation/events/module.h index 3de0f0e6..8ef31182 100644 --- a/include/instrumentation/events/module.h +++ b/include/instrumentation/events/module.h @@ -31,7 +31,11 @@ LTTNG_TRACEPOINT_ENUM(taint, TP_ENUM_VALUES( ctf_enum_value("PROPRIETARY_MODULE", 1UL << TAINT_PROPRIETARY_MODULE) ctf_enum_value("FORCED_MODULE", 1UL << TAINT_FORCED_MODULE) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0)) ctf_enum_value("CPU_OUT_OF_SPEC", 1UL << TAINT_CPU_OUT_OF_SPEC) +#else + ctf_enum_value("UNSAFE_SMP", 1UL << TAINT_UNSAFE_SMP) +#endif ctf_enum_value("FORCED_RMMOD", 1UL << TAINT_FORCED_RMMOD) ctf_enum_value("MACHINE_CHECK", 1UL << TAINT_MACHINE_CHECK) ctf_enum_value("BAD_PAGE", 1UL << TAINT_BAD_PAGE)