diff options
author | chiniforooshan <chiniforooshan@chromium.org> | 2016-02-01 11:19:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-01 19:20:50 +0000 |
commit | 12827b68174c363351b05a8e7f7c29e1d9c0c01d (patch) | |
tree | 5487a7ad80c44b2fa096a68dc4b6c838b332ef29 /ppapi | |
parent | 9b785ed1bb9c7f1630f6201a485839e40eb9dc86 (diff) | |
download | chromium_src-12827b68174c363351b05a8e7f7c29e1d9c0c01d.zip chromium_src-12827b68174c363351b05a8e7f7c29e1d9c0c01d.tar.gz chromium_src-12827b68174c363351b05a8e7f7c29e1d9c0c01d.tar.bz2 |
Add Scopes to Trace IDs
This enables us to us scoped IDs in tracing without doubling the
number of macros.
Design doc:
https://docs.google.com/document/d/1ODGoUwjcyiM2RwD8OD_gpRCxkBubcKArA8_n3W43HAY/edit?usp=sharing
BUG=579112
Review URL: https://codereview.chromium.org/1487793002
Cr-Commit-Position: refs/heads/master@{#372718}
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/shared_impl/ppb_trace_event_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/shared_impl/ppb_trace_event_impl.cc b/ppapi/shared_impl/ppb_trace_event_impl.cc index a178726..08bf7d0 100644 --- a/ppapi/shared_impl/ppb_trace_event_impl.cc +++ b/ppapi/shared_impl/ppb_trace_event_impl.cc @@ -45,7 +45,7 @@ void TraceEventImpl::AddTraceEvent(int8_t phase, phase, static_cast<const unsigned char*>(category_enabled), name, - id, + trace_event_internal::kGlobalScope, id, num_args, arg_names, arg_types, @@ -76,7 +76,7 @@ void TraceEventImpl::AddTraceEventWithThreadIdAndTimestamp( phase, static_cast<const unsigned char*>(category_enabled), name, - id, + trace_event_internal::kGlobalScope, id, trace_event_internal::kNoId, thread_id, base::TimeTicks::FromInternalValue(timestamp), |