chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bootchart: clean up sysfd and proc handling
[elogind.git]
/
src
/
bootchart
/
bootchart.h
diff --git
a/src/bootchart/bootchart.h
b/src/bootchart/bootchart.h
index d0273421de2b47c8faf040a2264c27a22c1716e6..6e83a99a2b555f0f77ae8c32427abd84a16561ed 100644
(file)
--- a/
src/bootchart/bootchart.h
+++ b/
src/bootchart/bootchart.h
@@
-5,7
+5,7
@@
/***
This file is part of systemd.
/***
This file is part of systemd.
- Copyright (C) 2009-2013 Intel Co
pr
oration
+ Copyright (C) 2009-2013 Intel Co
rp
oration
Authors:
Auke Kok <auke-jan.h.kok@intel.com>
Authors:
Auke Kok <auke-jan.h.kok@intel.com>
@@
-24,7
+24,6
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <dirent.h>
#include <stdbool.h>
#include "list.h"
#include <stdbool.h>
#include "list.h"
@@
-77,6
+76,7
@@
struct ps_struct {
char name[256];
int pid;
int ppid;
char name[256];
int pid;
int ppid;
+ char *cgroup;
/* cache fd's */
int sched;
/* 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_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_pss;
extern bool arg_entropy;
+extern bool arg_percpu;
extern bool initcall;
extern int samples;
extern int cpus;
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 char arg_init_path[PATH_MAX];
extern FILE *of;
-extern int sysfd;