__init.__initdata和__exit.__exitdata的定义位于<kernel/include/linux/init.h> /* These are for everybody (although not all archs will actually discard it in modules) */ #define __init __section(.init.text) __cold notrace #define __initdata __section(.init.d
Android开发过程中在sh,py,mk文件中添加log信息的方法 在sh文件中: echo "this is a log info" + $info 在py文件中: print ("this is a log info ",info) 在mk文件中 $(warning warning:'this is a log info')