summaryrefslogtreecommitdiff
path: root/kern/syscall_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/syscall_subr.c')
-rw-r--r--kern/syscall_subr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index 6d23462c..c79152c9 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -75,6 +75,8 @@ boolean_t swtch(void)
{
processor_t myprocessor;
+ printf("%s\n", __func__);
+
#if NCPUS > 1
myprocessor = current_processor();
if (myprocessor->runq.count == 0 &&
@@ -107,6 +109,8 @@ boolean_t swtch_pri(int pri)
thread_t thread = current_thread();
processor_t myprocessor;
+ printf("%s\n", __func__);
+
#if NCPUS > 1
myprocessor = current_processor();
if (myprocessor->runq.count == 0 &&
@@ -160,6 +164,8 @@ kern_return_t thread_switch(
processor_t myprocessor;
ipc_port_t port;
+ printf("%s\n", __func__);
+
/*
* Process option.
*/
@@ -381,6 +387,8 @@ thread_depress_abort(thread_t thread)
void
mach_print(const char *s)
{
+ printf("%s\n", __func__);
+
printf("%s", s);
}
#endif /* MACH_KDB */