mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
添加trace及补充获取插件context的tdd
Signed-off-by: s30030188 <songjindian1@h-partners.com>
This commit is contained in:
@@ -48,7 +48,8 @@ bool JsModuleReader::operator()(const std::string& inputPath, uint8_t **buff,
|
||||
size_t *buffSize, std::string& errorMsg) const
|
||||
{
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "called start: %{private}s", inputPath.c_str());
|
||||
HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__);
|
||||
std::string traceTag = __PRETTY_FUNCTION__ + inputPath;
|
||||
HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, traceTag);
|
||||
if (inputPath.empty() || buff == nullptr || buffSize == nullptr) {
|
||||
TAG_LOGE(AAFwkTag::JSRUNTIME, "Invalid param");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user