[roll] Roll fuchsia [fire] Add crash counts

Add per-component crash occurrences

Also fix a bug where upload_counts was being incremented even
if the fetched value == the occurrence cache value

Manual test:
Add `tracing::warn!("Logging events: {:?}", metric_events);`
  right before the call to log_metric_events()
Add ` { "id": 901, "label": "V1", "moniker": "cpp_crasher.cmx" },
      { "id": 902, "label": "V2", "moniker": "core/ffx-laboratory:cpp_crasher" }`
  to components.json
Set poll_rate_sec in crashes.json5 to 10
$ ffx component run fuchsia-pkg://fuchsia.com/crasher#meta/cpp_crasher.cm
$ fx shell run fuchsia-pkg://fuchsia.com/crasher#meta/cpp_crasher.cmx
$ fx log | grep sampler

Test: $ fx test //src/diagnostics/config/fire
Original-Bug: 80899
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/630461
Original-Revision: ff0ba0b90ce6d8e27f008b97fc671ba34e27d7ec
GitOrigin-RevId: dc0ce8ed87329afe2e326888c651080c9bad75c3
Change-Id: I906dd6b7fc91de974d624144718621b59926238b
1 file changed
tree: bb782f8ac0f9df4ef420e8b4c631a5b55356a783
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. 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.