diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 15:16:25 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 15:16:25 +0000 |
commit | 5b4926e1893925ce5be80d1e43fe753f27952e9c (patch) | |
tree | d35c2bbc7e91a18ea5256f0690912ff8493d5aa8 /chrome/browser/ui/webui/tracing_ui.h | |
parent | 151648c6d04cb19e8bfe868bb668342912952e44 (diff) | |
download | chromium_src-5b4926e1893925ce5be80d1e43fe753f27952e9c.zip chromium_src-5b4926e1893925ce5be80d1e43fe753f27952e9c.tar.gz chromium_src-5b4926e1893925ce5be80d1e43fe753f27952e9c.tar.bz2 |
Implement backend for thread names and process names.
Added a new trace event phase 'M'/TRACE_EVENT_PHASE_METADATA,
which can become a general mechanism for adding metadata to traces.
The two M-type events that we then add are:
{ph=M pid=<pid> name="process_name" args={ name="name of pid" }}
{ph=M pid=<pid> tid=<tid> name="thread_name" args={ name="name of tid" }}
base::thread is instrumented to set names automatically. I will do a followon
changelist to add instrumentation to Chrome for its various processes and
threads.
Review URL: http://codereview.chromium.org/7495031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/tracing_ui.h')
0 files changed, 0 insertions, 0 deletions