kernel: print more details when trying to alert invalid process
This commit is contained in:
parent
cd04af0a75
commit
e37207828a
@ -1164,7 +1164,9 @@ int process_alert_node_locked(process_t * process, void * value) {
|
||||
must_have_lock(sleep_lock);
|
||||
|
||||
if (!is_valid_process(process)) {
|
||||
printf("invalid process\n");
|
||||
dprintf("core %d (pid=%d %s) attempted to alert invalid process %#zx\n",
|
||||
this_core->cpu_id, this_core->current_process->id, this_core->current_process->name,
|
||||
(uintptr_t)process);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user