博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
printk %pF %pS含义【转】
阅读量:7109 次
发布时间:2019-06-28

本文共 1089 字,大约阅读时间需要 3 分钟。

作者:啐楼
链接:https://www.zhihu.com/question/37769890/answer/73532192
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
Symbols/Function Pointers:
%pF versatile_init+0x0/0x110
%pf versatile_init %pS versatile_init+0x0/0x110
%pSR versatile_init+0x9/0x110
(with __builtin_extract_return_addr() translation)
%ps versatile_init
%pB prev_fn_of_versatile_init+0x88/0x88
For printing symbols and function pointers. The 'S' and 's' specifiers result in the symbol name with ('S') or without ('s') offsets. Where this is used on a kernel without KALLSYMS - the symbol address is printed instead. The 'B' specifier results in the symbol name with offsets and should be used when printing stack backtraces. The specifier takes into consideration the effect of compiler optimisations which may occur when tail-call's are used and marked with the noreturn GCC attribute. On ia64, ppc64 and parisc64 architectures function pointers are actually function descriptors which must first be resolved. The 'F' and 'f' specifiers perform this resolution and then provide the same functionality as the 'S' and 's' specifiers.
你可能感兴趣的文章
php字符串截取函数,支持中文截取
查看>>
PHP中var_dump
查看>>
看出在玩啥了吗?想不想体验下
查看>>
dedecms主从表 附加表 同时调用
查看>>
PostgreSQL的 initdb 源代码分析之十一
查看>>
《Python入门》Windows 7下Python Web开发环境搭建笔记
查看>>
[WinAPI] 串口读写
查看>>
[Android] 字体使用dp单位避免设置系统字体大小对排版的影响
查看>>
[LeetCode] Detect Capital 检测大写格式
查看>>
HDU 2037 今年暑假不AC(贪心,区间更新,板子题)
查看>>
Zookeeper~Linux环境下的部署
查看>>
配置IP
查看>>
C#线程访问winform窗体控件
查看>>
apiCloud中的数据库操作mcm-js-sdk的使用
查看>>
Java系列之EJB
查看>>
change和onchange、click和onclick的区别
查看>>
EF架构~有时使用SQL更方便
查看>>
Docker部署zabbix3.2监控系统
查看>>
[zt]OpenCV如何获取视频当前的一帧图像
查看>>
Jenkins内置环境变量的使用
查看>>