Commit 05a62936 authored by Veronika Molnarova's avatar Veronika Molnarova Committed by Namhyung Kim
Browse files

perf dso: Fix symtab_type for kmod compression



During the rework of the dso structure in patch ee756ef7 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.

Fixes: ee756ef7 ("perf dso: Add reference count checking and accessor functions")
Signed-off-by: default avatarVeronika Molnarova <vmolnaro@redhat.com>
Acked-by: default avatarMichael Petlan <mpetlan@redhat.com>
Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
Tested-by: default avatarMichael Petlan <mpetlan@redhat.com>
Link: https://lore.kernel.org/r/20241010144836.16424-1-vmolnaro@redhat.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent e34f6ac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment