Home
last modified time | relevance | path

Searched refs:headSize (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_m/components/trace/
Dtrace_offline.c50 UINT32 headSize; in OsTraceBufInit() local
52 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()
/kernel/liteos_a/kernel/extended/trace/
Dtrace_offline.c47 UINT32 headSize; in OsTraceBufInit() local
49 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()