bootchart: cleanup unused structs and globals
This commit is contained in:
@@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#define MAXCPUS 16
|
#define MAXCPUS 16
|
||||||
#define MAXPIDS 65535
|
#define MAXPIDS 65535
|
||||||
#define MAXSAMPLES 8192
|
|
||||||
|
|
||||||
struct block_stat_struct {
|
struct block_stat_struct {
|
||||||
/* /proc/vmstat pgpgin & pgpgout */
|
/* /proc/vmstat pgpgin & pgpgout */
|
||||||
@@ -44,11 +43,6 @@ struct cpu_stat_sample_struct {
|
|||||||
double waittime;
|
double waittime;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cpu_stat_struct {
|
|
||||||
/* per cpu array */
|
|
||||||
struct cpu_stat_sample_struct sample[MAXSAMPLES];
|
|
||||||
};
|
|
||||||
|
|
||||||
/* per process, per sample data we will log */
|
/* per process, per sample data we will log */
|
||||||
struct ps_sched_struct {
|
struct ps_sched_struct {
|
||||||
/* /proc/<n>/schedstat fields 1 & 2 */
|
/* /proc/<n>/schedstat fields 1 & 2 */
|
||||||
@@ -68,7 +62,6 @@ struct list_sample_data {
|
|||||||
double sampletime;
|
double sampletime;
|
||||||
int entropy_avail;
|
int entropy_avail;
|
||||||
struct block_stat_struct blockstat;
|
struct block_stat_struct blockstat;
|
||||||
struct cpu_stat_struct cpustat;
|
|
||||||
LIST_FIELDS(struct list_sample_data, link); /* DLL */
|
LIST_FIELDS(struct list_sample_data, link); /* DLL */
|
||||||
int counter;
|
int counter;
|
||||||
};
|
};
|
||||||
@@ -117,7 +110,6 @@ extern double log_start;
|
|||||||
extern double sampletime[];
|
extern double sampletime[];
|
||||||
extern struct ps_struct *ps_first;
|
extern struct ps_struct *ps_first;
|
||||||
extern struct block_stat_struct blockstat[];
|
extern struct block_stat_struct blockstat[];
|
||||||
extern struct cpu_stat_struct cpustat[];
|
|
||||||
extern int pscount;
|
extern int pscount;
|
||||||
extern bool arg_relative;
|
extern bool arg_relative;
|
||||||
extern bool arg_filter;
|
extern bool arg_filter;
|
||||||
|
|||||||
Reference in New Issue
Block a user