diff options
Diffstat (limited to 'scripts/update_payload/payload.py')
-rw-r--r-- | scripts/update_payload/payload.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/update_payload/payload.py b/scripts/update_payload/payload.py index 8e50c1f4..7733a4a9 100644 --- a/scripts/update_payload/payload.py +++ b/scripts/update_payload/payload.py @@ -10,7 +10,6 @@ import hashlib import struct from update_payload import applier -from update_payload import block_tracer from update_payload import checker from update_payload import common from update_payload import update_metadata_pb2 @@ -318,23 +317,3 @@ class Payload(object): helper.Run(new_kernel_part, new_rootfs_part, old_kernel_part=old_kernel_part, old_rootfs_part=old_rootfs_part) - - def TraceBlock(self, block, skip, trace_out_file, is_kernel): - """Traces the origin(s) of a given dest partition block. - - The tracing tries to find origins transitively, when possible (it currently - only works for move operations, where the mapping of src/dst is - one-to-one). It will dump a list of operations and source blocks - responsible for the data in the given dest block. - - Args: - block: the block number whose origin to trace - skip: the number of first origin mappings to skip - trace_out_file: file object to dump the trace to - is_kernel: trace through kernel (True) or rootfs (False) operations - """ - self._AssertInit() - - # Create a short-lived payload block tracer object and run it. - helper = block_tracer.PayloadBlockTracer(self) - helper.Run(block, skip, trace_out_file, is_kernel) |