Skip to content

Commit

Permalink
Add more information in ending Marker Tags
Browse files Browse the repository at this point in the history
Summary: Added more information to ending tags so that they can be connected with the starting tags.

Reviewed By: mdvacca

Differential Revision: D7121038

fbshipit-source-id: 72d51952955e22a4c8d66c4f9e75a3fd9d34df7f
  • Loading branch information
axe-fb authored and facebook-github-bot committed Nov 30, 2018
1 parent 8d68a3e commit fe97458
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ public List<MethodDescriptor> getMethodDescriptors() {
try {
return Arguments.makeNativeMap(map);
} finally {
ReactMarker.logMarker(CONVERT_CONSTANTS_END);
ReactMarker.logMarker(CONVERT_CONSTANTS_END, moduleName);
Systrace.endSection(TRACE_TAG_REACT_JAVA_BRIDGE);

ReactMarker.logMarker(GET_CONSTANTS_END);
ReactMarker.logMarker(GET_CONSTANTS_END, moduleName);
SystraceMessage.endSection(TRACE_TAG_REACT_JAVA_BRIDGE).flush();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private NativeModule create() {
doInitialize(module);
}
} finally {
ReactMarker.logMarker(CREATE_MODULE_END, mInstanceKey);
ReactMarker.logMarker(CREATE_MODULE_END, mName ,mInstanceKey);
SystraceMessage.endSection(TRACE_TAG_REACT_JAVA_BRIDGE).flush();
}
return module;
Expand Down Expand Up @@ -222,7 +222,7 @@ private void doInitialize(NativeModule module) {
}
}
} finally {
ReactMarker.logMarker(ReactMarkerConstants.INITIALIZE_MODULE_END, mInstanceKey);
ReactMarker.logMarker(ReactMarkerConstants.INITIALIZE_MODULE_END, mName, mInstanceKey);
SystraceMessage.endSection(TRACE_TAG_REACT_JAVA_BRIDGE).flush();
}
}
Expand Down

0 comments on commit fe97458

Please sign in to comment.