The commit is pushed to "branch-rh10-6.12.0-55.13.1.3.x.vz10-ovz" and will
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.3.26.vz10
------>
commit 49b4021a7cc118797120d301901a84a2abf6396e
Author: Veronika Molnarova <[email protected]>
Date: Thu Dec 18 13:51:49 2025 +0000
ms/perf dso: Fix symtab_type for kmod compression
During the rework of the dso structure in patch ee756ef7491eafd an
increment was forgotten for the symtab_type in case the data for
the kernel module are compressed. This affects the probing of the
kernel modules, which fails if the data are not already cached.
Increment the value of the symtab_type to its compressed variant so the
data could be recovered successfully.
mFixes: ee756ef7491eafd7 ("perf dso: Add reference count checking and
accessor functions")
Signed-off-by: Veronika Molnarova <[email protected]>
Acked-by: Michael Petlan <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Tested-by: Michael Petlan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
https://virtuozzo.atlassian.net/browse/VSTOR-120964
(cherry picked from commit 05a62936e6b14c005db3b0c9c7d8b93d825dd9ca)
Signed-off-by: Dmitry Sepp <[email protected]>
Reviewed-by: Pavel Tikhomirov <[email protected]>
Feature: fix ms/tools
---
tools/perf/util/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index 1912d97276916..27d5345d2b307 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -1345,7 +1345,7 @@ static int maps__set_module_path(struct maps *maps, const
char *path, struct kmo
* we need to update the symtab_type if needed.
*/
if (m->comp && is_kmod_dso(dso)) {
- dso__set_symtab_type(dso, dso__symtab_type(dso));
+ dso__set_symtab_type(dso, dso__symtab_type(dso)+1);
dso__set_comp(dso, m->comp);
}
map__put(map);
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel