Commit 5e4fce17 authored by Nicolò Mazzucato's avatar Nicolò Mazzucato Committed by Commit Bot

Add macro and logic to emit log messages into traces

Thanks to this CL the logs from chrome will be put inside
a trace, so that they can later be shown in the perfetto UI.

Bug: 983534
Change-Id: I66a3c2b54fd8bd2b5960bd042cb0e90ada6377f9
Commit-Queue: Nicolò Mazzucato <[email protected]>
Reviewed-by: default avatarDaniel Cheng <[email protected]>
Reviewed-by: default avataroysteine <[email protected]>
Reviewed-by: default avatarSami Kyöstilä <[email protected]>
Reviewed-by: default avatarEric Seckler <[email protected]>
Cr-Original-Commit-Position: refs/heads/[email protected]{#683626}
Cr-Mirrored-Commit: 6c278d9b654413e8beec84a5a9b4bec8cd368d07
parent d0793a09
......@@ -958,6 +958,9 @@
#define TRACE_TASK_EXECUTION(run_function, task) \
#define TRACE_LOG_MESSAGE(file, message, line) \
INTERNAL_TRACE_LOG_MESSAGE(file, message, line)
// TRACE_EVENT_METADATA* events are information related to other
// injected events, not events in their own right.
#define TRACE_EVENT_METADATA1(category_group, name, arg1_name, arg1_val) \
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment