Commit d25d7bb0 authored by Wentao Guan's avatar Wentao Guan
Browse files

perf,x86: Fix kabi breakage in struct uprobe_task

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB0MX4



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

After backport LTS commit adf290fe434c1 ("perf,x86: avoid
missing caller address in stack traces captured in uprobe"),
`uprobe_task` struct have changed, causing kabi breakage.

Use KABI_USE to fix kabi breakage in struct `uprobe_task`.

Fixes: 04291171 ("perf,x86: avoid missing caller address in stack traces captured in uprobe")
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
parent 04291171
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -77,11 +77,9 @@ struct uprobe_task {
	struct uprobe			*active_uprobe;
	unsigned long			xol_vaddr;

	struct arch_uprobe              *auprobe;

	struct return_instance		*return_instances;
	unsigned int			depth;
	KABI_RESERVE(1)
	KABI_USE(1, struct arch_uprobe	*auprobe)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)