diff options
author | Elliott Hughes <enh@google.com> | 2015-02-04 10:25:09 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-02-04 10:25:09 -0800 |
commit | 24627906bfee8c4a9eede3deefd12365a78351bf (patch) | |
tree | 022000219c43e6c8e49dae701b3d2a7e60a93512 /init/bootchart.h | |
parent | 798219e9e9137db272585f5dc5683df91ed5beb1 (diff) | |
download | system_core-24627906bfee8c4a9eede3deefd12365a78351bf.zip system_core-24627906bfee8c4a9eede3deefd12365a78351bf.tar.gz system_core-24627906bfee8c4a9eede3deefd12365a78351bf.tar.bz2 |
Use TEMP_FAILURE_RETRY, always build bootchart.cpp.
Also switch the revision parsing over to sscanf as promised. I haven't
done the hardware parsing because I don't yet know whether we actually need
to keep the space-stripping code.
Change-Id: Ic33378345cd515cb08d00c543acf44eb72673396
Diffstat (limited to 'init/bootchart.h')
-rw-r--r-- | init/bootchart.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/init/bootchart.h b/init/bootchart.h index ed65e8a..fcd20b1 100644 --- a/init/bootchart.h +++ b/init/bootchart.h @@ -21,17 +21,13 @@ # define BOOTCHART 0 #endif -#if BOOTCHART - extern int bootchart_init(void); extern int bootchart_step(void); extern void bootchart_finish(void); extern long long bootchart_gettime(void); -# define BOOTCHART_POLLING_MS 200 /* polling period in ms */ -# define BOOTCHART_DEFAULT_TIME_SEC (2*60) /* default polling time in seconds */ -# define BOOTCHART_MAX_TIME_SEC (10*60) /* max polling time in seconds */ - -#endif /* BOOTCHART */ +#define BOOTCHART_POLLING_MS 200 /* polling period in ms */ +#define BOOTCHART_DEFAULT_TIME_SEC (2*60) /* default polling time in seconds */ +#define BOOTCHART_MAX_TIME_SEC (10*60) /* max polling time in seconds */ #endif /* _BOOTCHART_H */ |