Commit 2da72dd5 authored by Luo Gengkun's avatar Luo Gengkun Committed by Li Huafei
Browse files

trace: Fix kabi breakage for trace_event_fields

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBJ835



--------------------------------

There is a hole can be used to fix the kabi breakage.

Fixes: 910a139efccb ("tracing: Check "%s" dereference via the field and not the TP_printk format")
Signed-off-by: default avatarLuo Gengkun <luogengkun2@huawei.com>
Signed-off-by: default avatarLi Huafei <lihuafei1@huawei.com>
parent a0e7c5bd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -280,10 +280,10 @@ struct trace_event_fields {
			const char *name;
			const int  size;
			const int  align;
			const unsigned int is_signed:1;
			unsigned int needs_test:1;
			const int  is_signed;
			const int  filter_type;
			const int  len;
			KABI_FILL_HOLE(unsigned int needs_test:1)
		};
		int (*define_fields)(struct trace_event_call *);
	};