kernel: convert some verbose log messages to trace messages

This commit is contained in:
2026-03-21 10:27:23 +00:00
parent 35949fa8db
commit a2c89df195
5 changed files with 19 additions and 6 deletions

View File

@@ -330,11 +330,11 @@ void task_exit(int status)
task_unlock(self);
handle_table_destroy(handles);
printk("thread %s[%u.%u] killed",
tracek("thread %s[%u.%u] killed",
self->t_name,
self->t_id,
cur_thread->tr_id);
printk("task %s[%u] killed (%u, %u)",
tracek("task %s[%u] killed (%u, %u)",
self->t_name,
self->t_id,
self->t_base.ob_refcount,

View File

@@ -148,7 +148,7 @@ void thread_exit(void)
thread_lock_irqsave(self, &flags);
self->tr_state = THREAD_STOPPED;
object_assert_signal(&self->tr_base, THREAD_SIGNAL_STOPPED);
printk("thread %s[%u.%u] exited",
tracek("thread %s[%u.%u] exited",
self->tr_parent->t_name,
self->tr_parent->t_id,
self->tr_id);
@@ -184,7 +184,7 @@ void thread_kill(struct thread *thread)
}
object_assert_signal(&thread->tr_base, THREAD_SIGNAL_STOPPED);
printk("thread %s[%u.%u] killed",
tracek("thread %s[%u.%u] killed",
thread->tr_parent->t_name,
thread->tr_parent->t_id,
thread->tr_id);