Zephyr_EU23_Leveraging_Compiler_Instr_For_Tracing_Profiling_Kevin_Gustavo_v2.pdf

编号:144888 PDF 27页 2.51MB 下载积分:VIP专享
下载报告请您先登录!

Zephyr_EU23_Leveraging_Compiler_Instr_For_Tracing_Profiling_Kevin_Gustavo_v2.pdf

1、#EMBEDDEDOSSUMMITLeveraging Compiler Code Instrumentation for Tracing&ProfilingGustavo Romero andKevin Townsend,Linaro gromero microbuilderTuring:.every time the command goes around the loop it will put a pulse in the loudspeaker and you will hear a frequency equal to how long it takes to go around

2、that loop,.you would soon learn to listen to that and know whether when the program got hung up in a loop or something else or what it was doing all this time.(1950).Claude Shannon,in A Mind at Play,p.108.-Tracing and Profiling=dynamic analyses(runtime)-In theory,they can capture almost any info on

3、the system behavior or state as if it was running in real life/production conditions-However,they can cause an observer effect,so disturb the runtime.But the disturbances may be negligible,if properly designed and understoodMotivation-Trace&profile without any financial or license barrier-Dont depen

4、d on additional HW,or proprietary and expensive tooling/software(e.g.J-Link,etc)-Significant platform limitations(gprof,which only supports a few platforms,often emulated,with no timestamps)-Show at a very low level and complete way which function in kernel or application code is being called and wh

5、en-Have a simple CLI tool for tracing&profiling,like Linux perf and ftraceCompiler instrumentation-Several types of code instrumentation are supported by GCC and Clang:-code coverage analysis-profile-guided optimizations.also used for runtime checks(out-of-bound array check,nullptr,stack)-and,finall

6、y,for collecting profile statistics!Compiler instrumentationFlags of interest here:1)-finstrument-functions-finstrument-functions-exclude-file-list=file,file,-finstrument-functions-exclude-function-list=sym,sym,2)-fpatchable-function-entry=N,M-fno-optimize-sibling-callsCompiler instrumentation-finst

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(Zephyr_EU23_Leveraging_Compiler_Instr_For_Tracing_Profiling_Kevin_Gustavo_v2.pdf)为本站 (2200) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠