Searched refs:headSize (Results 1 – 2 of 2) sorted by relevance
50 UINT32 headSize; in OsTraceBufInit() local52 headSize = sizeof(OfflineHead) + sizeof(ObjData) * LOSCFG_TRACE_OBJ_MAX_NUM; in OsTraceBufInit()53 if (size <= headSize) { in OsTraceBufInit()54 TRACE_ERROR("trace buf size not enough than 0x%x\n", headSize); in OsTraceBufInit()71 g_traceRecoder.head->frameOffset = headSize; in OsTraceBufInit()77 g_traceRecoder.ctrl.maxRecordCount = (size - headSize) / sizeof(TraceEventFrame); in OsTraceBufInit()
47 UINT32 headSize; in OsTraceBufInit() local49 headSize = sizeof(OfflineHead) + sizeof(ObjData) * LOSCFG_TRACE_OBJ_MAX_NUM; in OsTraceBufInit()50 if (size <= headSize) { in OsTraceBufInit()51 TRACE_ERROR("trace buf size not enough than 0x%x\n", headSize); in OsTraceBufInit()69 g_traceRecoder.head->frameOffset = headSize; in OsTraceBufInit()75 g_traceRecoder.ctrl.maxRecordCount = (size - headSize) / sizeof(TraceEventFrame); in OsTraceBufInit()