No description
Find a file
Jin Qian 9cdfdd3ff9 storaged: add --hours flag for dumpsys
1. Add a flag to report IO usage for last N hours.
2. Change interval back to 1 hour so that we have finer usage data.
3. Don't clear events after dumpsys call. Use a max buffer limit.
4. Clear old events if they're more than 5 days old or when no room
for new events.
5. Skip uids with no IO usage to save space.
6. Replace interval with a timestamp in event entry.

Test: adb shell dumpsys storaged --hours 2
Bug: 34198239
Bug: 33086174
Change-Id: I66e8fb6ec155584115fab817c3ed2c78e637ac40
2017-02-01 16:48:21 -08:00
adb adb: fix darwin build. 2017-01-26 14:01:34 -08:00
adf libadf: move ADF uapi header out of bionic 2017-01-31 23:08:26 +00:00
base base: support logging before enter main function. 2017-01-25 15:50:47 -08:00
bootstat bootstat: Update the wording of 'soft reboot' to 'runtime restart'. 2017-02-01 01:30:08 +00:00
cpio mkbootfs: Fix the default st_mode for root directory. 2016-10-07 16:14:27 -07:00
debuggerd debuggerd: fix debuggerd <pid> 2017-01-30 17:58:04 -08:00
fastboot Merge "fastboot: Workaround for touchbar hang on MBP 2016" 2017-01-26 21:39:39 +00:00
fs_mgr Merge "fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h>" 2017-01-28 01:37:22 +00:00
gatekeeperd Adjust for small changes in the native keystore interface 2017-01-19 05:32:34 -07:00
healthd Merge "healthd: Track the API change of minui/minui.h." am: fb8c70cf4b am: 93e35655c4 am: bf90005832 2017-01-25 00:59:02 +00:00
include Merge "Revert "Continue using the legacy NDK android/log.h."" am: 33aa9fc0e1 am: cb29e6e94f am: f598640e48 2017-01-31 00:24:29 +00:00
init Merge "Expand seccomp whitelist" 2017-02-01 01:17:43 +00:00
libappfuse Support SOCK_STREAM for bridge between system and app 2016-12-12 14:53:03 +09:00
libbacktrace liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libbinderwrapper Move libbinderwrapper's headers into libbinderwrapper. 2016-09-16 09:02:47 -07:00
libcrypto_utils Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libcutils Merge "Disable integer sanitization on host." am: afe25958b6 am: ac3cf2ea9d am: ee5a545b7a 2017-02-01 19:49:36 +00:00
libdiskconfig liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libion liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
liblog Merge "logcat: test: inject() tuning" 2017-01-31 15:59:22 +00:00
libmemtrack memtrack HAL uses "default" service name 2017-01-23 14:00:27 -08:00
libmemunreachable liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libnativebridge liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libnativeloader dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH 2017-01-17 20:31:58 +00:00
libnetutils liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpackagelistparser liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpixelflinger liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libprocessgroup Switch fastboot/init/libprocessgroup to std::this_thread::sleep_for. 2016-11-14 17:08:47 -08:00
libprocinfo libprocinfo: introduce. 2016-11-14 13:42:18 -08:00
libsparse Remove "_host" and "_static" suffix from libsparse definition. am: b0c395955d am: 7b8d66e7cc am: 11b65cf3be 2017-01-12 22:45:52 +00:00
libsuspend resolve merge conflicts of a45b1d6f3 to master 2017-01-11 11:41:38 -08:00
libsync libsync: Replace inserting tuple into unordered_map in favour of pair. 2017-01-30 23:39:03 +00:00
libsysutils Exporting C++ headers from system/core 2017-01-24 22:51:36 +00:00
libunwindstack Do not build any host targets on mac. 2017-01-30 13:45:16 -08:00
libusbhost Merge "usblib: Wrap USBDEVFS_REAPURBNDELAY ioctl" 2016-10-27 16:15:12 +00:00
libutils Merge "Exporting C++ headers from system/core" am: 812b7d5d52 am: f484dd3401 am: a252f11da3 2017-01-26 02:03:45 +00:00
libziparchive resolve merge conflicts of a45b1d6f3 to master 2017-01-11 11:41:38 -08:00
lmkd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
logcat logcat: test: inject() tuning 2017-01-30 15:42:56 -08:00
logd logd: multiple identical do not report expired 2017-01-24 11:02:18 -08:00
logwrapper liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir Merge "init.rc, typo: fs-post-data -> post-fs-data" am: 5b202c4376 am: e0ac5d8304 am: 311e4295dc 2017-01-26 00:58:46 +00:00
run-as Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
sdcard Merge "Switch sdcardfs over to bind mounts." am: 94b9e4df04 am: 895cd44bd9 am: 8c0d6338f3 2016-11-30 05:38:12 +00:00
storaged storaged: add --hours flag for dumpsys 2017-02-01 16:48:21 -08:00
toolbox delete toolbox/r.c 2016-11-29 15:45:11 -08:00
trusty trusty: use log/log.h for ALOG macros 2017-01-13 07:30:11 -08:00
tzdatacheck Change tzdatacheck to account for bundle format changes 2017-01-10 14:38:35 +00:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk init.rc: have hwservicemanager start the HAL class 2016-09-26 00:23:51 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00