annotate "CREATE_MODULE" QP log with the name of the module being created

Reviewed By: achen1

Differential Revision: D4513001

fbshipit-source-id: b98024796c0b0cd2489a67bf0695c86d994689d6
This commit is contained in:
Aaron Chiu authored and Facebook Github Bot committed 2017-02-10 12:56:08 -08:00
1 parent c7c3e4c5d8
commit 15ceed4069
2 files changed
+9 -4

No files matched your search

@@ -105,7 +105,7 @@ public class ModuleHolder {
private NativeModule create() {
boolean isEagerModule = mModule != null;
if (!isEagerModule) {
ReactMarker.logMarker(CREATE_MODULE_START);
ReactMarker.logMarker(CREATE_MODULE_START, mName);
}
SystraceMessage.beginSection(TRACE_TAG_REACT_JAVA_BRIDGE, "createModule")
.arg("name", mName)