chiark / gitweb /
bootchart: clean up sysfd and proc handling
[elogind.git] / src / bootchart / bootchart.h
index d0273421de2b47c8faf040a2264c27a22c1716e6..6e83a99a2b555f0f77ae8c32427abd84a16561ed 100644 (file)
@@ -5,7 +5,7 @@
 /***
   This file is part of systemd.
 
-  Copyright (C) 2009-2013 Intel Coproration
+  Copyright (C) 2009-2013 Intel Corporation
 
   Authors:
     Auke Kok <auke-jan.h.kok@intel.com>
@@ -24,7 +24,6 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <dirent.h>
 #include <stdbool.h>
 #include "list.h"
 
@@ -77,6 +76,7 @@ struct ps_struct {
         char name[256];
         int pid;
         int ppid;
+        char *cgroup;
 
         /* cache fd's */
         int sched;
@@ -114,8 +114,10 @@ extern int pscount;
 extern bool arg_relative;
 extern bool arg_filter;
 extern bool arg_show_cmdline;
+extern bool arg_show_cgroup;
 extern bool arg_pss;
 extern bool arg_entropy;
+extern bool arg_percpu;
 extern bool initcall;
 extern int samples;
 extern int cpus;
@@ -130,4 +132,3 @@ extern char arg_output_path[PATH_MAX];
 extern char arg_init_path[PATH_MAX];
 
 extern FILE *of;
-extern int sysfd;