- 1、本文档共35页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Introduction to perf event
Introduction to Perf Event Kyle Wang 2011-8-25 Outline Perf tool introduction Related code Arm PMU related Perf tool Perf is a profiler tool for Linux 2.6+ based systems that abstracts away CPU hardware differences in Linux performance measurements and presents a simple commandline interface. Perf is based on the perf_events interface exported by recent versions of the Linux kernel. PerfEvents (Performance analysis tools for Linux) is a new Linux feature that provides a framework for analyzing performance events at both hardware and software levels. Event The perf tool supports a list of measurable events. The tool and underlying kernel interface can measure events coming from different sources. Basically, there are three types of events: Software events : they are pure kernel counters. Examples include: context-switches, minor-fault. PMU hardware events or hardware events : these events come from the processor itself and its Performance Monitoring Unit (PMU). It provides a list of events to measure micro-architectural events such as the number of cycles, instructions retired, L1 cache misses and so on. They vary with each processor type and model. Tracepoint events: they are implemented by the kernel ftrace infrastructure. Those are only available with the 2.6.3x and newer kernels. Options controlling environment selection The perf tool can be used to count events on a per-thread, per-process, per-cpu or system-wide basis. In per-thread mode, the counter only monitors the execution of a designated thread. When the thread is scheduled out, monitoring stops. When a thread migrated from one processor to another, counters are saved on the current processor and are restored on the new one. The per-process mode is a variant of per-thread where all threads of the process are monitored. Counts and samples are aggregated at the process level. The perf_events interface allows for automatic inheritance on fork() and pthread_create(). By default, the perf tool activate
您可能关注的文档
- I. POSITION OF THE PROBLEM.pdf
- I2C 英文版 spec (philips官方文档).pdf
- Hysol板上芯片包封产品技术培训.pdf
- I-1.Verb konjugation.pdf
- IAP升级功能编写初期的一些困惑与疑问---完成功能后的总结 - 推酷.pdf
- IB20120300003_87546185.pdf
- IBM Domino Web Access (iNotes)配置实例.pdf
- IBS GBCGBS燃气烧嘴.pdf
- I Am the Bread of Life.ppt
- IBM Flex System 产品介绍New.pdf
- DB53T 844.5-2017 外事接待服务规范 第5部分 :接见、会谈及会议服务.docx
- DB5305T49.2-2020 保山市机关事务管理与服务 第2部分:机关办公楼(区)保洁服务规范.docx
- 洱海流域餐厨垃圾综合利用 第2部分 分类、收集与清运 __DB5329_T 78.2-2021.docx
- DB52_T 1503.6-2020 贵州猕猴桃 第6部分:红阳猕猴桃适宜区立地环境条件及栽培技术规程.docx
- DB23T - 红松果材兼用林定向培育技术规程.docx
- DB23T - 露地中晚熟西瓜栽培技术规程.docx
- DB5331T38-2021 水稻工厂化育秧技术规范.docx
- DB5331_T 43.1-2023 德宏州茄果类蔬菜栽培技术规程 第1部分:茄果类蔬菜穴盘育苗技术.docx
- DB5309_T37-2022 籼稻直播栽培技术规程.docx
- DB53T - 甘蔗白叶病病原巢式PCR检测技术规程.docx
文档评论(0)