summaryrefslogtreecommitdiff
path: root/include/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/task.h')
-rw-r--r--include/task.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/task.h b/include/task.h
index 1aeb1206b7..f2df173501 100644
--- a/include/task.h
+++ b/include/task.h
@@ -105,6 +105,11 @@ uint32_t task_wait_event(int timeout_us);
*/
void task_print_list(void);
+/**
+ * Returns the name of the task.
+ */
+const char *task_get_name(task_id_t tskid);
+
#ifdef CONFIG_TASK_PROFILING
/**
* Start tracking an interrupt.