提交 d1ea74d3 编写于 作者: X Xin Pan

follow comments

上级 5a9f17f0
......@@ -434,8 +434,8 @@ int VariableResponse::Parse(Source* source) {
return tag;
}
meta_.set_profile(profiling);
int64_t lisner_id = platform::ListenerId();
if (lisner_id <= 0) {
int64_t listener_id = platform::ListenerId();
if (listener_id <= 0) {
break;
}
if (profiling && !platform::IsProfileEnabled()) {
......@@ -444,7 +444,7 @@ int VariableResponse::Parse(Source* source) {
// TODO(panyx0718): Should we allow to customize file dir.
platform::DisableProfiler(
platform::EventSortingKey::kDefault,
string::Sprintf("/tmp/profile_ps_%lld", lisner_id));
string::Sprintf("/tmp/profile_ps_%lld", listener_id));
}
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册