Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: third_party/psutil/psutil/arch/osx/process_info.h

Issue 6246123: Moving psutil to third_party. This is first step for Media Performance test project. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: modification based on code review's comments Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/psutil/psutil/arch/osx/process_info.h
diff --git a/third_party/psutil/psutil/arch/osx/process_info.h b/third_party/psutil/psutil/arch/osx/process_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..db93f0646280407b76d0ee0645f0a4fb1a58825d
--- /dev/null
+++ b/third_party/psutil/psutil/arch/osx/process_info.h
@@ -0,0 +1,16 @@
+/*
+ * $Id: process_info.h 760 2010-10-30 17:41:07Z g.rodola $
+ *
+ * Helper functions related to fetching process information. Used by _psutil_osx
+ * module methods.
+ */
+
+#include <Python.h>
+
+
+typedef struct kinfo_proc kinfo_proc;
+
+int get_proc_list(kinfo_proc **procList, size_t *procCount);
+int getcmdargs(long pid, PyObject **exec_path, PyObject **envlist, PyObject **arglist);
+PyObject* get_arg_list(long pid);
+int get_kinfo_proc(pid_t pid, struct kinfo_proc *kp);
« no previous file with comments | « third_party/psutil/psutil/arch/mswindows/security.c ('k') | third_party/psutil/psutil/arch/osx/process_info.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698