Skip to content

Commit cc47a26

Browse files
committed
Merge: perf: Fix broken module probing
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/5813 JIRA: https://issues.redhat.com/browse/RHEL-62198 Signed-off-by: Michael Petlan <mpetlan@redhat.com> Approved-by: Chris von Recklinghausen <crecklin@redhat.com> Approved-by: Jerome Marchand <jmarchan@redhat.com> Approved-by: vmolnaro <vmolnaro@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Rado Vrbovsky <rvrbovsk@redhat.com>
2 parents 3c85f60 + 2bd2857 commit cc47a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/machine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ static int maps__set_module_path(struct maps *maps, const char *path, struct kmo
13421342
* we need to update the symtab_type if needed.
13431343
*/
13441344
if (m->comp && is_kmod_dso(dso)) {
1345-
dso__set_symtab_type(dso, dso__symtab_type(dso));
1345+
dso__set_symtab_type(dso, dso__symtab_type(dso)+1);
13461346
dso__set_comp(dso, m->comp);
13471347
}
13481348
map__put(map);

0 commit comments

Comments
 (0)