Searched refs:proc_read (Results 1 – 1 of 1) sorted by relevance
/system/core/init/ |
D | bootchart.c | 66 proc_read(const char* filename, char* buff, size_t buffsize) in proc_read() function 139 proc_read("/proc/cmdline", cmdline, sizeof(cmdline)); in log_header() 140 proc_read("/proc/version", uname, sizeof(uname)); in log_header() 141 proc_read("/proc/cpuinfo", cpuinfo, sizeof(cpuinfo)); in log_header() 262 proc_read(filename, cmdline, sizeof(cmdline)); in do_log_procs() 306 proc_read( LOG_STARTFILE, buff, sizeof(buff) ); in bootchart_init() 319 proc_read( "/proc/cmdline", cmdline, sizeof(cmdline) ); in bootchart_init() 363 if (proc_read(LOG_STOPFILE,buff,sizeof(buff)) > 0 && buff[0] == '1') { in bootchart_step()
|