Skip to content

Commit 3aace95

Browse files
alexivanov-googledkalowsk
authored andcommitted
llext: Do not print symbol resolution messages
If the LLEXT extension is really large, these messages really add up. Making them debug messages. Signed-off-by: Alex Ivanov <[email protected]>
1 parent 4a486ce commit 3aace95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/llext/llext_link.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int llext_lookup_symbol(struct llext_loader *ldr, struct llext *ext, uintptr_t *
213213
return -ENODATA;
214214
}
215215

216-
LOG_INF("found symbol %s at %#lx", name, *link_addr);
216+
LOG_DBG("found symbol %s at %#lx", name, *link_addr);
217217
} else if (sym->st_shndx == SHN_ABS) {
218218
/* Absolute symbol */
219219
*link_addr = sym->st_value;
@@ -522,7 +522,7 @@ int llext_link(struct llext_loader *ldr, struct llext *ext, const struct llext_l
522522
name, ELF_ST_TYPE(sym.st_info),
523523
ELF_ST_BIND(sym.st_info), sym.st_shndx);
524524

525-
LOG_INF("writing relocation type %d at %#lx with symbol %s (%#lx)",
525+
LOG_DBG("writing relocation type %d at %#lx with symbol %s (%#lx)",
526526
(int)ELF_R_TYPE(rel.r_info), op_loc, name, link_addr);
527527
}
528528
#endif /* CONFIG_LLEXT_LOG_LEVEL */

0 commit comments

Comments
 (0)