Arunprasad Rajkumar
Arunprasad Rajkumar

Reputation: 1454

How Google Chrome's chrome://tracing implemented?

Is it specific to X86_* CPU? Or applicable for all?

What is the library/3rd_party code which used to make this work?

Upvotes: 0

Views: 1568

Answers (1)

Arunprasad Rajkumar
Arunprasad Rajkumar

Reputation: 1454

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.

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.

Upvotes: 1

Related Questions