我想打开YAFFS中提供的任何调试工具.我希望它能帮助我调试使用闪存时出现的问题.
linux内核中是否有任何配置可以帮助我调试YAFFS?
提前致谢.
解决方法:
根据文件有:
Yaffs has a lot of built in tracing to help deBUG and integrate. The
tracing is controlled by yaffs_traceMask bitmask which allows varIoUs
sets of tracing to be Disabled or enabled at runtime.The trace bits are specifIEd in the yaffs_trace.h file.
The tracing mechanism has also been ‘hijacked’ to provIDe a control
mask for extra verification code when the YAFFS_TRACE_VERIFYxxx trace
bits are selected.The tracing mechanism is readily integrated into the system via
printf-like statements. Tracing is all done through macros which allow
the strings to be converted into unicode or similar if need be.
它可以在运行时通过proc或sysfs接口进行 *** 作,例如:
cat +os > /proc/yaffs # Enables YAFFS_TRACE_OScat -all+gc > /proc/yaffs # disables everything then enable YAFFS_TRACE_GCcat 0xf000 > /proc/yaffs # Set trace mask to specifIEd bitmask.
有关详细信息,请参阅:http://www.yaffs.net/yaffs-tuning-and-configuration#Tracing_mechanism
总结以上是内存溢出为你收集整理的android – 如何调试YAFFS?全部内容,希望文章能够帮你解决android – 如何调试YAFFS?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)