代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/dim 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 79ad6482e5156c864973ca9e9f7f1a0e68290aa8 Mon Sep 17 00:00:00 2001
From: Huaxin Lu <luhuaxin1@huawei.com>
Date: Tue, 30 Apr 2024 00:42:43 +0800
Subject: [PATCH 09/28] Remove unused symbol in dim_core
---
src/core/dim_core_symbol.c | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/src/core/dim_core_symbol.c b/src/core/dim_core_symbol.c
index eeb9240..38c9f02 100644
--- a/src/core/dim_core_symbol.c
+++ b/src/core/dim_core_symbol.c
@@ -45,20 +45,12 @@ int dim_core_kallsyms_init(void)
k->find_get_task_by_vpid = (DIM_FIND_GET_TASK_BY_VPID)
dim_kallsyms_lookup_name("find_get_task_by_vpid");
#endif
-#ifndef JUMP_LABEL_NOP_SIZE
- k->arch_jump_entry_size = (DIM_ARCH_JUMP_ENTRY_SIZE)
- dim_kallsyms_lookup_name("arch_jump_entry_size");
-#endif
return (k->stext == NULL || k->etext == NULL ||
-#ifndef JUMP_LABEL_NOP_SIZE
- k->arch_jump_entry_size == NULL ||
-#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)
k->find_module == NULL || k->find_get_task_by_vpid == NULL ||
#endif
- k->start_jump_table == NULL || k->stop_jump_table == NULL ||
- k->jump_label_lock == NULL || k->jump_label_lock == NULL ||
- k->walk_process_tree == NULL) ? -ENOENT : 0;
+ k->start_jump_table == NULL || k->stop_jump_table == NULL ||
+ k->jump_label_lock == NULL || k->jump_label_lock == NULL ||
+ k->walk_process_tree == NULL) ? -ENOENT : 0;
}
-
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。