本书基于zui新的Linux内核源代码3.19.3版本,对常用的内核API作了系统归纳,并编写了典型验证程序,使理论分析与实际编程做到了统一。分析的内核API模块包括:模块机制内核API、进程管理内核API、进程调度内核API、中断与异常机制内核API、时间与定时机制内核API、内存管理内核API、内核同步机制API、文件系统内核API和设备驱动与设备管理模块内核API。前言第1章Linux内核API分析必备知识11.1Linux内核编程注意事项11.2本书中模块编译Makefile模板21.3内核调试函数printk31.4内核编译与定制51.4.1获得Linux内核与补丁51.4.2准备编译需要的工具51.4.3解压内核61.4.4给内核打补丁61.4.5设定编译选项71.4.6编译与安装内核91.4.7创建initramfs101.4.8设置grub111.4.9启动选项121.5温馨提示12本章参考文献13第2章内核模块机制API142.1函数:__module_address()142.2函数:__module_text_address()162.3函数:__print_symbol()192.4函数:__symbol_get()222.5函数:__symbol_put()252.6函数:find_module()272.7函数:find_symbol()312.8函数:module_is_live()362.9函数:module_put()382.10函数:module_refcount()402.11函数:sprint_symbol()422.12函数:symbol_put_addr()452.13函数:try_module_get()48本章参考文献50第3章Linux进程管理内核API513.1函数:__task_pid_nr_ns()513.2函数:find_get_pid()543.3函数:find_pid_ns()563.4函数:find_vpid()583.5函数:get_pid()603.6函数:get_task_mm()623.7函数:mmput()663.8函数:ns_of_pid()683.9函数:pid_nr()703.10函数:pid_task()723.11函数:pid_vnr()743.12函数:put_pid()763.13函数:task_active_pid_ns()783.14函数:task_tgid_nr_ns()80本章参考文献82第4章Linux进程调度内核API834.1函数:__wake_up()834.2函数:__wake_up_sync()884.3函数:__wake_up_sync_key()914.4函数:abort_exclusive_wait()944.5函数:add_wait_queue()994.6函数:add_wait_queue_exclusive()1024.7函数:autoremove_wake_function()1054.8函数:complete()1094.9函数:complete_all()1124.10函数:completio
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Da: liu xing, Nanjing, JS, Cina
paperback. Condizione: New. Language:Chinese.Paperback. Pub Date:2016-10-01 Pages:640 Publisher: Machinery Industry Press Book Zui new Linux kernel source code based version of 3.19.3. are summarized on the common kernel API. and write the typical verification procedures. the theoretical analysis and practical programming to achieve unified. The analysis of the kernel API module includes: within the module mechanism. Codice articolo DN053360
Quantità: 5 disponibili