platform_system_core/fs_mgr/libsnapshot
David Anderson de20e57f08 libsnapshot: Improve inspect_cow output.
Clean up the formatting and unit display, and add a line displaying how
long it took to parse the COW.

Example of new output:

    Version: 2.0
    Header size: 38
    Footer size: 84
    Block size: 4096
    Merge ops: 0
    Readahead buffer: 2097152 bytes
    Footer: ops usage: 1005680 bytes
    Footer: op count: 50284
    Parse time: 6.77921ms
    Data ops: 50015
    Replace ops: 50015
    Zero ops: 0
    Copy ops: 0
    Xor ops: 0

Bug: 280529365
Test: inspect_cow /dev/block/mapper/product_b-cow
Change-Id: Ie8ac02adc004289cc3a08ef44aa3048280a2407f
2023-05-02 19:45:19 -07:00
..
android/snapshot Remove the libsnapshot fuzzer. 2023-03-09 08:35:49 -08:00
include/libsnapshot libsnapshot: Rename and clarify some methods in ICowOpIter. 2023-05-02 19:45:16 -07:00
include_test/libsnapshot Support sysfs changes in the Linux 5.15 kernel. 2022-12-08 16:22:47 -08:00
libsnapshot_cow libsnapshot: Improve inspect_cow output. 2023-05-02 19:45:19 -07:00
scripts Add LOCAL_LICENSE_KINDS to system/core/fs_mgr 2021-09-15 10:57:11 -07:00
snapuserd libsnapshot: Rename and clarify some methods in ICowOpIter. 2023-05-02 19:45:16 -07:00
Android.bp Merge "libsnapshot: Remove various unused components." 2023-04-14 22:42:42 +00:00
device_info.cpp Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
device_info.h Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
dm_snapshot_internals.h libsnapshot: Use std::unordered_set in DmSnapCowSizeCalculator. 2021-07-30 11:02:28 -07:00
OWNERS libsnapshot: Edit OWNERS file 2022-03-03 01:18:07 +00:00
partition_cow_creator.cpp libsnapshot: Clarify the meaning of "compression.enabled". 2022-07-27 18:32:15 -07:00
partition_cow_creator.h Initialize COW options using update manifest 2023-02-23 13:21:20 -08:00
partition_cow_creator_test.cpp libsnapshot: Clarify the meaning of "compression.enabled". 2022-07-27 18:32:15 -07:00
return.cpp libsnapshot: delete WaitForMerge. 2020-03-03 13:19:49 -08:00
snapshot.cpp Merge changes Ife319450,I2ecf838b 2023-03-13 19:27:06 +00:00
snapshot_metadata_updater.cpp Merge "libsnapshot: Properly set partial_update_" 2020-07-31 23:02:05 +00:00
snapshot_metadata_updater.h Update libsnapshot to handle partial update 2020-06-09 12:53:45 -07:00
snapshot_metadata_updater_test.cpp libsnapshot_test: skip global setup on non-VAB devices. 2020-08-06 17:21:50 -07:00
snapshot_reader.cpp libsnapshot: Rename and clarify some methods in ICowOpIter. 2023-05-02 19:45:16 -07:00
snapshot_reader.h libsnapshot: Replace IByteSink usage in snapshot_reader. 2023-04-27 08:03:41 -07:00
snapshot_reader_test.cpp libsnapshot: Replace IByteSink usage in snapshot_reader. 2023-04-27 08:03:41 -07:00
snapshot_stats.cpp libsnapshot: Add more feature flags to SnapshotMergeReport. 2022-05-25 13:40:31 -07:00
snapshot_stub.cpp libsnapshot: Add more feature flags to SnapshotMergeReport. 2022-05-25 13:40:31 -07:00
snapshot_test.cpp libsnapshot: Disable another legacy merge path in tests. 2023-04-28 14:53:41 -07:00
snapshot_writer.cpp Fix nullptr access when cow reader open fails 2022-12-02 09:50:44 -08:00
snapshot_writer_test.cpp libsnapshot: Fix crash in cow writer test due to missing ASSERT. 2023-02-07 05:24:27 +00:00
snapshotctl.cpp snapshotctl: Add a test-blank-ota command for development. 2022-10-24 11:49:25 -07:00
test_helpers.cpp libsnapshot: Improve low space tests. 2023-02-07 05:24:26 +00:00
utility.cpp libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
utility.h libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
vts_ota_config_test.cpp Some device that platform base on android12 doesn't support A/B update, it looks virtual A/B is also not mandatory. so this test case should check ro.vendor.api_level first. 2022-09-17 06:47:02 +00:00