简体   繁体   English

Google Chrome的chrome:// tracing如何实现?

[英]How Google Chrome's chrome://tracing implemented?

Is it specific to X86_* CPU? 它特定于X86_ * CPU吗? Or applicable for all? 还是适用于所有人?

What is the library/3rd_party code which used to make this work? 使这项工作使用的库/ 3rd_party代码是什么?

Finally I understood how about://tracing works without digging the source code. 最终,我了解了//://跟踪是如何工作的,而无需挖掘源代码。

http://www.chromium.org/developers/how-tos/trace-event-profiling-tool/tracing-event-instrumentation explains the more details about Chrome's tracing. http://www.chromium.org/developers/how-tos/trace-event-profiling-tool/tracing-event-instrumentation解释了有关Chrome跟踪的更多详细信息。

Actually it is a manually added instrumentation points inserted into the source by the developers. 实际上,它是由开发人员手动插入到源中的检测点。

#include <base/debug/trace_event.h>

Above header contains all the abstractions to ease that. 标头上方包含所有抽象内容,以简化该操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM