未验证 提交 2e48d407 编写于 作者: 陈卓 提交者: Gitee

update ipc/native/src/mock/source/hitrace_invoker.cpp.

Signed-off-by: N陈卓 <chenzhuo50@huawei.com>
上级 bcb3a31b
......@@ -125,7 +125,7 @@ bool HitraceInvoker::TraceServerReceieve(uint64_t handle, uint32_t code, Parcel
HiTraceChain::SetId(traceId);
// tracepoint: SR(Server Receive)
HiTraceChain::Tracepoint(HITRACE_TP_SR, traceId,
"%s handle=%lu,code=%u", (flags & TF_ONE_WAY) ? "ASYNC" : "SYNC",
"%s handle=%llu,code=%u", (flags & TF_ONE_WAY) ? "ASYNC" : "SYNC",
handle, code);
}
......@@ -138,7 +138,7 @@ void HitraceInvoker::TraceServerSend(uint64_t handle, uint32_t code, bool isServ
{
if (isServerTraced) {
// tracepoint: SS(Server Send)
HiTraceChain::Tracepoint(HITRACE_TP_SS, HiTraceChain::GetId(), "%s handle=%lu,code=%u",
HiTraceChain::Tracepoint(HITRACE_TP_SS, HiTraceChain::GetId(), "%s handle=%llu,code=%u",
(flags & TF_ONE_WAY) ? "ASYNC" : "SYNC", handle, code);
}
HiTraceChain::ClearId();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册