Search notes:

scripts/mksysmap

scripts/mksysmap creates the System.map file based on the vmlinux file.
mksysmap is called from scripts/link-vmlinux.sh (function mksysmap), for example to create System.map.
sh ./scripts/mksysmap vmlinux System.map .tmp_vmlinux.kallsyms2.o

Usage

scripts/mksysmap vmlinux System.map [exclude]
The optional 3rd parameter ([exclude]) refers to an object file whose symbols will be omitted from the output.
This makes kallsyms have the identical symbol lists in the step 1 and 2.
Without this, the step2 would get new symbols generated by scripts/kallsyms.c when CONFIG_KALLSYMS_ALL is enabled. That might require one more pass.

See also

The directory scripts/

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/ke...', 1738278659, '18.222.162.161', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/kernel/source/scripts/mksysmap(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78