diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-10-12 16:18:26 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-10-12 16:18:26 +0200 |
commit | f0c6cdbd026200d61063cb493918f523b0e36e00 (patch) | |
tree | 8a890b096b2f1e2dcaa0ae8abdfb74c5089c1a58 | |
parent | 2fd5679f6b61cb8cc5b358a2d298f6338c1c915b (diff) | |
download | psutil-osx-travis-failure.tar.gz |
try to debug failureosx-travis-failure
-rw-r--r-- | psutil/_psutil_osx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/psutil/_psutil_osx.c b/psutil/_psutil_osx.c index 2924aa39..2eeb6fa7 100644 --- a/psutil/_psutil_osx.c +++ b/psutil/_psutil_osx.c @@ -336,6 +336,7 @@ psutil_proc_memory_maps(PyObject *self, PyObject *args) { err = task_for_pid(mach_task_self(), (pid_t)pid, &task); if (err != KERN_SUCCESS) { + printf("1\n"); psutil_raise_for_pid(pid, "task_for_pid() failed"); goto error; } @@ -376,6 +377,7 @@ psutil_proc_memory_maps(PyObject *self, PyObject *args) { errno = 0; proc_regionfilename((pid_t)pid, address, buf, sizeof(buf)); if ((errno != 0) || ((sizeof(buf)) <= 0)) { + printf("2\n"); psutil_raise_for_pid( pid, "proc_regionfilename() syscall failed"); goto error; |