use dprintk() for per process data structure debug messages
This commit is contained in:
committed by
Balazs Gerofi bgerofi@riken.jp
parent
81a78be20a
commit
22d9d6d3a6
@@ -133,7 +133,7 @@ static long mcexec_prepare_image(ihk_os_t os,
|
|||||||
list_add_tail(&ppd->list, &usrdata->per_proc_list);
|
list_add_tail(&ppd->list, &usrdata->per_proc_list);
|
||||||
ihk_ikc_spinlock_unlock(&usrdata->per_proc_list_lock, flags);
|
ihk_ikc_spinlock_unlock(&usrdata->per_proc_list_lock, flags);
|
||||||
|
|
||||||
printk("pid %d, rpgtable: 0x%lx added\n",
|
dprintk("pid %d, rpgtable: 0x%lx added\n",
|
||||||
ppd->pid, ppd->rpgtable);
|
ppd->pid, ppd->rpgtable);
|
||||||
|
|
||||||
if (copy_to_user(udesc, pdesc, sizeof(struct program_load_desc) +
|
if (copy_to_user(udesc, pdesc, sizeof(struct program_load_desc) +
|
||||||
|
|||||||
@@ -1190,7 +1190,7 @@ int __do_in_kernel_syscall(ihk_os_t os, struct mcctrl_channel *c, struct syscall
|
|||||||
list_add_tail(&ppd->list, &usrdata->per_proc_list);
|
list_add_tail(&ppd->list, &usrdata->per_proc_list);
|
||||||
ihk_ikc_spinlock_unlock(&usrdata->per_proc_list_lock, flags);
|
ihk_ikc_spinlock_unlock(&usrdata->per_proc_list_lock, flags);
|
||||||
|
|
||||||
printk("pid: %d, rpgtable: 0x%lx added\n",
|
dprintk("pid: %d, rpgtable: 0x%lx added\n",
|
||||||
ppd->pid, ppd->rpgtable);
|
ppd->pid, ppd->rpgtable);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1219,7 +1219,7 @@ int __do_in_kernel_syscall(ihk_os_t os, struct mcctrl_channel *c, struct syscall
|
|||||||
if (ppd) {
|
if (ppd) {
|
||||||
list_del(&ppd->list);
|
list_del(&ppd->list);
|
||||||
|
|
||||||
printk("pid: %d, tid: %d: rpgtable for %d (0x%lx) removed\n",
|
dprintk("pid: %d, tid: %d: rpgtable for %d (0x%lx) removed\n",
|
||||||
current->tgid, current->pid, ppd->pid, ppd->rpgtable);
|
current->tgid, current->pid, ppd->pid, ppd->rpgtable);
|
||||||
|
|
||||||
kfree(ppd);
|
kfree(ppd);
|
||||||
|
|||||||
Reference in New Issue
Block a user