[go: nahoru, domu]

tree: bdd8df9c2f7005ff202e8b8b3cc94498111d39eb [path history] [tgz]
  1. test/
  2. BUILD.gn
  3. DEPS
  4. DIR_METADATA
  5. OWNERS
  6. README.md
  7. stability_report.proto
  8. stability_report_data_source.cc
  9. stability_report_data_source.h
  10. user_stream_data_source.cc
  11. user_stream_data_source.h
  12. user_stream_data_source_posix.cc
  13. user_stream_data_source_posix.h
  14. user_stream_data_source_posix_unittest.cc
  15. user_stream_data_source_win.cc
  16. user_stream_data_source_win.h
  17. user_stream_data_source_win_unittest.cc
components/stability_report/README.md

This component registers a crashpad::UserStreamDataSource with the crash component. Whenever a process crashes, it collects stats on the resources used by the crashed process (e.g. memory in use and available, open file handles) and writes them to the stream as a serialized StabilityReport proto.

This is currently only implemented on Windows, Linux, and ChromeOS.

Google-internal details: The StabilityReport is parsed by the crash server and displayed in the Breadcrumbs tab of the crash UI. The parsing code is at http://shortn/_Xt58wqlKTk.