Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: base/debug/task_annotator.h

Issue 1468883003: Remove memory category from chrome://tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@format-trace-event
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/trace_event/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/task_annotator.h
diff --git a/base/debug/task_annotator.h b/base/debug/task_annotator.h
index 74068d920403eb0de6723be86e56ad6b4729ac4d..b5cf6c216cc30afdec4486f00c8f24c11ae44816 100644
--- a/base/debug/task_annotator.h
+++ b/base/debug/task_annotator.h
@@ -37,12 +37,10 @@ class BASE_EXPORT TaskAnnotator {
DISALLOW_COPY_AND_ASSIGN(TaskAnnotator);
};
-#define TRACE_TASK_EXECUTION(run_function, task) \
- TRACE_EVENT_WITH_MEMORY_TAG2( \
- "toplevel", (run_function), \
- (task).posted_from.function_name(), /* Name for memory tracking. */ \
- "src_file", (task).posted_from.file_name(), "src_func", \
- (task).posted_from.function_name());
+#define TRACE_TASK_EXECUTION(run_function, task) \
+ TRACE_EVENT2("toplevel", (run_function), "src_file", \
+ (task).posted_from.file_name(), "src_func", \
+ (task).posted_from.function_name());
} // namespace debug
} // namespace base
« no previous file with comments | « no previous file | base/trace_event/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698