Home
last modified time | relevance | path

Searched refs:tname (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/include/zephyr/debug/
Dstack.h30 const char *tname; in log_stack_usage() local
32 tname = k_thread_name_get((k_tid_t)thread); in log_stack_usage()
33 if (tname == NULL) { in log_stack_usage()
34 tname = "unknown"; in log_stack_usage()
38 thread, tname, unused, size - unused, size, in log_stack_usage()
/Zephyr-latest/samples/subsys/tracing/src/
Dmain.c41 const char *tname; in helloLoop() local
52 tname = k_thread_name_get(k_current_get()); in helloLoop()
53 if (tname == NULL) { in helloLoop()
58 tname, CONFIG_BOARD); in helloLoop()
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dstacks.c28 const char *tname; in shell_stack_dump() local
39 tname = k_thread_name_get((struct k_thread *)thread); in shell_stack_dump()
47 thread, tname ? tname : "NA", size, unused, size - unused, size, pcnt); in shell_stack_dump()
Dlist.c69 const char *tname; in shell_tdata_dump() local
73 tname = k_thread_name_get(thread); in shell_tdata_dump()
78 tname ? tname : "NA"); in shell_tdata_dump()
/Zephyr-latest/samples/synchronization/src/
Dmain.c39 const char *tname; in hello_loop() local
48 tname = k_thread_name_get(current_thread); in hello_loop()
55 if (tname == NULL) { in hello_loop()
60 tname, cpu, CONFIG_BOARD); in hello_loop()
/Zephyr-latest/subsys/tracing/sysview/
Dsysview_config.c22 const char *tname = k_thread_name_get(thread); in set_thread_name() local
24 if (tname != NULL && tname[0] != '\0') { in set_thread_name()
25 memcpy(name, tname, THREAD_NAME_LEN); in set_thread_name()
/Zephyr-latest/samples/posix/philosophers/src/
Dmain.c237 char tname[MAX_NAME_LEN]; in start_threads() local
239 snprintf(tname, sizeof(tname), "Philosopher %zu", i); in start_threads()
240 pthread_setname_np(threads[i], tname); in start_threads()
/Zephyr-latest/samples/philosophers/src/
Dmain.c223 char tname[CONFIG_THREAD_MAX_NAME_LEN]; in start_threads() local
225 snprintk(tname, CONFIG_THREAD_MAX_NAME_LEN, "Philosopher %d", i); in start_threads()
226 k_thread_name_set(&threads[i], tname); in start_threads()
/Zephyr-latest/kernel/
Dinit.c587 char tname[8]; in init_idle_thread() local
588 snprintk(tname, 8, "idle %02d", i); in init_idle_thread()
590 char *tname = "idle"; in init_idle_thread() local
594 char *tname = NULL; in init_idle_thread() local
600 tname); in init_idle_thread()
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztress.c277 if (strcmp(tname, (CONFIG_MP_MAX_NUM_CPUS == 1) ? "idle" : "idle 0" STRINGIFY(i)) == 0) { \ in thread_cb()
282 const char *tname = k_thread_name_get((struct k_thread *)cthread); in thread_cb() local
Dztest.c181 char tname[CONFIG_THREAD_MAX_NAME_LEN]; in cpu_hold() local
222 snprintk(tname, CONFIG_THREAD_MAX_NAME_LEN, "cpuhold%02d", idx); in cpu_hold()
223 k_thread_name_set(k_current_get(), tname); in cpu_hold()
/Zephyr-latest/subsys/tracing/ctf/
Dctf_top.c20 const char *tname = k_thread_name_get(thread); in _get_thread_name() local
22 if (tname != NULL && tname[0] != '\0') { in _get_thread_name()
23 strncpy(name->buf, tname, sizeof(name->buf)); in _get_thread_name()
/Zephyr-latest/scripts/build/
Dgen_kobject_list.py871 tname = metadata_names[ko.type_name]
873 tname = "unused"
876 tname, str(ko.data)))
/Zephyr-latest/include/zephyr/
Dkernel.h764 prio, options, delay, tname) \ argument
775 .init_name = STRINGIFY(tname), \