[ASLog] Add new ASProfilingSignpost defines for System Trace flags. (#2370)

* [Debugging / Profiling] Add kdebug_signpost calls to Range and DataController.

* [ASLog] Add new ASProfilingSignpost defines for System Trace flags.

* [ASLog] Improve kdebug_signpost logging: ASRunloopQueue and AsyncDisplay, and colors.
See https://github.com/facebook/AsyncDisplayKit/pull/2370 for screenshots.
This commit is contained in:
appleguy
2016-10-13 10:31:22 -07:00
committed by Adlai Holler
parent 8729bc0502
commit 4595ebc06e
6 changed files with 59 additions and 3 deletions

View File

@@ -10,6 +10,8 @@
#pragma once
#import "ASLog.h"
// The C++ compiler mangles C function names. extern "C" { /* your C functions */ } prevents this.
// You should wrap all C function prototypes declared in headers with ASDISPLAYNODE_EXTERN_C_BEGIN/END, even if
// they are included only from .m (Objective-C) files. It's common for .m files to start using C++