|
|
Log in / Subscribe / Register

printk() indexing

printk() indexing

Posted May 28, 2021 4:18 UTC (Fri) by marcH (subscriber, #57642)
Parent article: printk() indexing

This is very similar and possibly inspired by the concept of a message catalog / dictionary which is common in embedded systems for a different reason: saving memory.

https://en.wikipedia.org/wiki/MIPI_Debug_Architecture -> System Software Trace (Sys-T)
https://github.com/zephyrproject-rtos/zephyr/pull/30539
Etc.


to post comments

printk() indexing

Posted May 28, 2021 8:22 UTC (Fri) by PengZheng (subscriber, #108006) [Link]

Thank you for the insightful comments.
I learned a lesson.

printk() indexing

Posted May 28, 2021 20:16 UTC (Fri) by shemminger (subscriber, #5739) [Link]

This is often done to provide native language support as well.

printk() indexing

Posted Jun 1, 2021 21:16 UTC (Tue) by riking (subscriber, #95706) [Link]

Defmt for Rust is another similar project, that performs compile-time macros to get complete indexing of strings.
https://ferrous-systems.com/blog/gdb-and-defmt/


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds