Add debug messages for per-process data

This commit is contained in:
Masamichi Takagi
2018-04-11 14:41:22 +09:00
parent 4969762f15
commit c0271f4727
2 changed files with 19 additions and 0 deletions

View File

@ -70,6 +70,12 @@
#define pr_ptd(msg, tid, ptd) do { } while(0)
#endif
//#define DEBUG_PPD
#ifdef DEBUG_PPD
#define pr_ppd(msg, tid, ppd) do { printk("%s: " msg ",tid=%d,refc=%d\n", __FUNCTION__, tid, atomic_read(&ppd->refcount)); } while(0)
#else
#define pr_ppd(msg, tid, ppd) do { } while(0)
#endif
static long pager_call_irq(ihk_os_t os, struct syscall_request *req);
static long pager_call(ihk_os_t os, struct syscall_request *req);