From: Mathieu Desnoyers Date: Tue, 15 Apr 2014 14:56:16 +0000 (-0400) Subject: Fix: module instrumentation: update to 3.15 kernel X-Git-Tag: v2.5.0-rc1~14 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=40ed2a65086bdebb79fe92ff5b04a69ce7ac1ffc;p=lttng-modules.git Fix: module instrumentation: update to 3.15 kernel Remove show_module_flags() define from lttng module.h instrumentation. It is already defined within the in-kernel module.h, _and_ LTTng does not use TP_printk. Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/module.h b/instrumentation/events/lttng-module/module.h index c63f8660..c2d1ad77 100644 --- a/instrumentation/events/lttng-module/module.h +++ b/instrumentation/events/lttng-module/module.h @@ -23,10 +23,6 @@ #define _TRACE_MODULE_DEF struct module; -#define show_module_flags(flags) __print_flags(flags, "", \ - { (1UL << TAINT_PROPRIETARY_MODULE), "P" }, \ - { (1UL << TAINT_FORCED_MODULE), "F" }, \ - { (1UL << TAINT_CRAP), "C" }) #endif TRACE_EVENT(module_load,