1# bootstat command
2type bootstat, domain;
3type bootstat_exec, exec_type, file_type;
4
5read_runtime_log_tags(bootstat)
6
7# Allow persistent storage in /data/misc/bootstat.
8allow bootstat bootstat_data_file:dir rw_dir_perms;
9allow bootstat bootstat_data_file:file create_file_perms;
10
11# Read access to pseudo filesystems (for /proc/uptime).
12r_dir_file(bootstat, proc)
13
14# Collect metrics on boot time created by init
15get_prop(bootstat, boottime_prop)
16