Skip to content

内核宏定义展开 | Yi颗烂樱桃 #6

Description

@ysun

https://www.owalle.com/2022/06/19/debug-compile-preprocess/

最近用到了内核中的一些宏定义(Macro),但一直以来,内核的宏定义学习起来都是比较费劲的,一层套一层的定义,新上手的同学一时间很难搞清楚运行时到底用了哪个宏定义,宏定义展开到底怎样。今天发现一个不错的方法研究内核的宏定义。 使用编译预处理研究宏定义展开

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions