Home
last modified time | relevance | path

Searched refs:taskName (Results 1 – 25 of 45) sorted by relevance

12

/kernel/liteos_m/testsuites/sample/kernel/atomic/
Dit_los_atomic_008.c52 CHAR taskName[ATOMIC_MUTI_TASK_NUM][20] = {"", }; // max taskName size is 20. in TestCase() local
61 ret = memset_s(taskName[i], 20, 0, 20); // max taskName size is 20. in TestCase()
64 task[i].pcName = taskName[i]; in TestCase()
Dit_los_atomic_007.c51 CHAR taskName[ATOMIC_MUTI_TASK_NUM][20] = {"", }; // max taskName size is 20. in TestCase() local
60 ret = memset_s(taskName[i], 20, 0, 20); // max taskName size is 20. in TestCase()
64 task[i].pcName = taskName[i]; in TestCase()
Dit_los_atomic_009.c62 CHAR taskName[DB_ATOMIC_MUTI_TASK_NUM][20] = {"", }; // max taskName size is 20. in TestCase() local
76 ret = memset_s(taskName[i], 20, 0, 20); // max taskName size is 20. in TestCase()
85 task[i].pcName = taskName[i]; in TestCase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_033.c43 char *taskName = NULL; in TaskF01() local
61 char *taskName = NULL; in Testcase() local
/kernel/liteos_a/kernel/base/mem/common/
Dlos_memstat.c59 OsCurrTaskGet()->taskName, g_tskMemUsedInfo[taskID].memUsed, usedSize); in OsTaskMemUsedDec()
81 OS_TCB_FROM_TID(taskID)->taskName, g_tskMemUsedInfo[taskID].memUsed); in OsTaskMemClear()
/kernel/liteos_m/kernel/src/
Dlos_task.c252 PRINT_ERR("CURRENT task %s stack overflow!\n", OS_TCB_FROM_TID(taskID)->taskName); in OsGetTaskWaterLine()
402 PRINTK("%#10x %-32s\n", (UINT32)(UINTPTR)taskCB->taskEntry, taskCB->taskName); in OsGetAllTskInfo()
521 CHAR *taskName = NULL; in LOS_CurTaskNameGet() local
524 taskName = g_losTask.runTask->taskName; in LOS_CurTaskNameGet()
527 return taskName; in LOS_CurTaskNameGet()
542 g_losTask.runTask->taskName, g_losTask.runTask->taskID); in OsHandleRunTaskStackOverflow()
558 g_losTask.newTask->taskName, g_losTask.newTask->taskID); in OsHandleNewTaskStackOverflow()
630 g_losTask.newTask->taskName, LOS_TASK_NAMELEN); in OsTaskSwitchCheck()
730 taskCB->taskName = taskInitParam->pcName; in OsNewTaskInit()
1093 g_losTask.runTask->taskName = taskCB->taskName; in OsRunningTaskDelete()
[all …]
/kernel/liteos_m/components/debugtools/
Dlos_schedtrace.c74 …(VOID)memcpy_s(g_traceRingBuf[point].newTaskName, LOS_TASK_NAMELEN, newTask->taskName, LOS_TASK_NA… in DefaultRecordHandle()
76 …(VOID)memcpy_s(g_traceRingBuf[point].runTaskName, LOS_TASK_NAMELEN, runTask->taskName, LOS_TASK_NA… in DefaultRecordHandle()
/kernel/liteos_m/kal/posix/src/
Dpthread.c532 tcb->taskName = PTHREAD_DEFAULT_NAME; in pthread_exit()
545 char *taskName = NULL; in pthread_setname_np() local
552 taskName = LOS_TaskNameGet((UINT32)thread); in pthread_setname_np()
553 if (taskName == NULL) { in pthread_setname_np()
569 (void)strcpy_s(taskName, PTHREAD_NAMELEN, name); in pthread_setname_np()
/kernel/liteos_a/kernel/base/sched/
Dlos_sched.c111 … taskCB->taskID, taskCB->taskName, OS_SYS_CYCLE_TO_US(currTime - sched->finishTime)); in SchedTimeoutTaskWake()
372 LOS_Panic("CURRENT task ID: %s:%d stack overflow!\n", runTask->taskName, runTask->taskID); in TaskStackCheck()
378 newTask->taskName, newTask->taskID, newTask->stackPointer, newTask->topOfStack); in TaskStackCheck()
Dlos_statistics.c174 averSchedWait, averPendTime, taskCB->taskName); in OsShellShowSchedStatistics()
337 task.taskID, curTime, deadline, finishTime, task.taskName); in OsShellShowEdfSchedStatistics()
/kernel/uniproton/src/core/kernel/task/
Dprt_task_init.c75 OS_SEC_L4_TEXT void OsTaskNameGet(U32 taskId, char **taskName) in OsTaskNameGet() argument
79 *taskName = taskCb->name; in OsTaskNameGet()
/kernel/uniproton/src/core/kernel/include/
Dprt_task_external.h107 typedef void (*TaskNameGetFunc)(U32 taskId, char **taskName);
/kernel/liteos_a/shell/full/src/base/
Dshell_lk.c195 ((OsCurrTaskGet() == NULL) ? "NULL" : OsCurrTaskGet()->taskName)); in OsLkDefaultFunc()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c202 OsCurrTaskGet()->taskName, __FUNCTION__, ArchCurrCpuid()); in OsArmSharedPageFault()
337 runTask->taskName, in OsExcSysInfo()
918 PRINTK("TaskName = %s\n", taskCB->taskName); in OsTaskBackTrace()
928 PrintExcInfo("runTask->taskName = %s\n", runTask->taskName); in OsBackTrace()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c110 (VOID)strncpy_s(g_mainTask[i].taskName, OS_TCB_NAME_LEN, name, OS_TCB_NAME_LEN - 1); in OsSetMainTask()
576 …if (snprintf_s(taskCB->taskName, OS_TCB_NAME_LEN, OS_TCB_NAME_LEN - 1, "thread%u", numCount) < 0) { in TaskCBInit()
1139 …if (strncpy_s(taskInfo->acName, LOS_TASK_NAMELEN, taskCB->taskName, LOS_TASK_NAMELEN - 1) != EOK) { in LOS_TaskInfoGet()
1297 err = strncpy_s(taskCB->taskName, OS_TCB_NAME_LEN, (VOID *)namePtr, OS_TCB_NAME_LEN - 1); in OsSetTaskName()
1306 err = (INT32)OsSetProcessName(OS_PCB_FROM_TCB(taskCB), (const CHAR *)taskCB->taskName); in OsSetTaskName()
Dlos_info.c169 (VOID)memcpy_s(taskInfo->name, OS_TCB_NAME_LEN, taskCB->taskName, OS_TCB_NAME_LEN); in GetThreadInfo()
/kernel/liteos_a/kernel/common/
Dlos_printf.c286 ((OsCurrTaskGet() == NULL) ? "NULL" : OsCurrTaskGet()->taskName)); in LOS_LkPrint()
/kernel/liteos_a/kernel/base/ipc/
Dlos_sem_debug.c59 nameArr[num++] = tskCB->taskName; in OsSemPendedTaskNamePrint()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_interrupt.c236 PRINTK("Task name = %s\n", taskCB->taskName); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
Dlos_interrupt.c282 PRINTK("taskName = %s\n", g_losTask.runTask->taskName); in ExcInfoDisplay()
/kernel/liteos_a/kernel/base/mp/
Dlos_lockdep.c142 OsPrintLockDepInfo("task name : %s\n", temp->taskName); in OsLockDepDumpLock()
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_interrupt.c178 PRINTK("Task name = %s\n", taskCB->taskName); in OsExcCurTaskInfo()
/kernel/liteos_a/kernel/extended/trace/
Dlos_trace.c136 …ret = strncpy_s(obj->name, LOSCFG_TRACE_OBJ_MAX_NAME_SIZE, tcb->taskName, LOSCFG_TRACE_OBJ_MAX_NAM… in OsTraceSetObj()
/kernel/liteos_m/kernel/include/
Dlos_task.h1490 CHAR *taskName; /**< Task name */ member
/kernel/liteos_m/components/trace/
Dlos_trace.c126 …ret = strncpy_s(obj->name, LOSCFG_TRACE_OBJ_MAX_NAME_SIZE, tcb->taskName, LOSCFG_TRACE_OBJ_MAX_NAM… in OsTraceSetObj()

12