Lines Matching refs:log
130 def __init__(self, elf_path: str, log: logging.Logger, slid_listing_path: str | None):
134 self.log = log
176 … self.log.error(f"SLID collision: {export_name} and {collision[0]} have the same SLID 0x{slid:X}")
202 self.log.info("SLID -> export name mapping:")
208 self.log.info(msg)
239 self.log.warn(f"_prepare_exptab_for_str_linking: do nothing")
269 self.log.error(e.args[0])
274 self.log.warning("exptab section flagged with LLEXT_PREPARATION_DONE "
285 self.log.error(f"export table size (0x{self.exptab_section.size:X}) "
301 self.log.debug(f"exports table section at file offset 0x{self.exptab_section.offset:X}")
303 … self.log.debug(f"exports strtab section at file offset 0x{self.expstrtab_section.offset:X}")
305 self.log.debug("no exports strtab section in ELF")
306 self.log.info(f"{num_exports} symbols are exported to LLEXTs by this ELF")
345 log = logging.getLogger(__file__)
349 log.addHandler(console)
352 log.setLevel(logging.DEBUG)
354 log.setLevel(logging.INFO)
356 log.setLevel(logging.WARNING)
358 return log
363 log = _init_log(args.verbose)
365 log.info(f"prepare_llext_exptab: {args.elf_file}")
367 preparator = ZephyrElfExptabPreparator(args.elf_file, log, args.slid_listing)