26 Commits

Author SHA1 Message Date
邹鹏
735d67ea8f add gcc-plugin-devel to BuildRequires for ppc64le 2024-03-13 15:36:08 +08:00
wangjiang
aee22b3bbb fix error in making hotpatch when local_match be empty 2023-09-25 08:53:52 +00:00
Bin Hu
542c1441d6 kpatch: sync patch from master to openEuler-22.03-LTS-Next
Signed-off-by: Bin Hu <hubin73@huawei.com>
2022-10-17 22:11:30 +08:00
Bin Hu
7ed7b12d3b sync patch from master to openEuler-22.03-LTS-Next
Signed-off-by: Bin Hu <hubin73@huawei.com>
2022-07-12 17:36:09 +08:00
Wentao Fan
c2862576bd delete useless code
Signed-off-by: Wentao Fan <fanwentao@huawei.com>
2022-03-30 17:24:12 +08:00
Wentao Fan
d67207fead sync from master
Signed-off-by: Wentao Fan <fanwentao@huawei.com>
2022-02-07 10:12:41 +08:00
Wentao Fan
5cf6dd0152 backport upstream patches
Signed-off-by: Wentao Fan <fanwentao@huawei.com>
2022-01-26 15:47:30 +08:00
hanxinke
e0615987d6 upgrade kpatch to v0.9.5 2021-12-10 16:23:36 +08:00
Zhipeng Xie
e48825dd0e lookup: Add __UNIQUE_ID_ to maybe_discarded_sym list
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-07-23 00:08:18 -04:00
Xinpeng Liu
bb86e84edd compile bug
failed to access
'/root/rpmbuild/BUILDROOT/kpatch-0.9.1-12.x86_64/opt/patch_workspace/': No such
file or directory
2021-05-29 08:21:56 +08:00
Wentao Fan
3a88b42a53 support for .cold functions with no id suffix
Signed-off-by: Wentao Fan <fanwentao@huawei.com>
2021-05-29 05:49:55 -04:00
Zhipeng Xie
f8d67d64eb modify hotpatch id length limit from 20 to 32
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-02-10 02:18:07 -05:00
Zhipeng Xie
854a1bb6b2 add kpatch requires
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-01-11 07:33:22 -05:00
Zhipeng Xie
a60dd87384 only skip gcc check in cross compile environment
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-01-05 06:25:47 -05:00
Zhipeng Xie
8143254f9b support remove static variables using KPATCH_IGNORE_STATIC
Static variables will be removed due to compiler optimization.
And some static variables can be treated as new variables, such as
static variables in print limit macros. So add KPATCH_IGNORE_STATIC
to tell kpatch to treat the static variables as new variables.

Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-12-30 21:49:51 -05:00
Zhipeng Xie
7baf01f5b6 Fix relocation not resolved when new functions exported only
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-11-23 01:10:53 -05:00
Zhipeng Xie
a77dc2fb14 optimization for out-of-tree modules
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-11-16 21:31:06 -05:00
Zhipeng Xie
fcbd86e188 add help package Recommends
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-11-12 04:30:12 -05:00
Zhipeng Xie
385d263ae5 update Source0
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-09-25 05:08:22 -04:00
Zhipeng Xie
a8565c3adf code optimization
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-09-12 05:45:06 -04:00
pengyq
80755df152 adapt kernel source path and name 2020-08-29 17:26:14 +08:00
chengquan
a2df443dbd upgrade software to v0.9.1 2020-05-11 15:02:56 +08:00
Zhipeng Xie
db78750c1a sync code to openeuler
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-03-22 06:56:43 -04:00
Zhipeng Xie
dc117ba0b6 rebase from upstream v0.9.0
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-02-27 17:15:29 -05:00
openeuler-basic
c51bc6ff72 add subpackage kpatch-runtime 2020-02-17 14:53:17 +08:00
Zhipeng Xie
428b311440 sync code to openeuler
sync latest code to openeuler

Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2019-12-30 15:59:18 +08:00