[roll] Roll fuchsia [forensics] Check persistence for snapshots

Check if a snapshot is in persistence if it isn't found in memory.
When a snapshot is returned from disk, there won't be another in-memory
reference to the archive. To avoid the archive being freed,
ManagedSnapshot must now support storing a std::shared_ptr for
snapshots generated from disk.

Note that the logic to add snapshots to disk is not wired up yet and no
snapshots should actually be found in persistence at this time.

Original-Bug: 102479

TESTED='fx test //src/developer/forensics'
TESTED='fx shell crasher' @ e5790c68a346c179

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/758431
Original-Revision: 9113c8390f2d6aeb65e179611d1d2c9343eff3c2
GitOrigin-RevId: ca37066b82562fceb0d46ceab0cc0b4824f59892
Change-Id: Ibbea2cb7d365fe4cba2f4ed19676cdc460e855e9
1 file changed
tree: 8a0f59e587e3ed724a32cb16c2ea32195d39c699
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.