tree: ff8bae719e97aa6c9216a9f3bcae723009cc2acd [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. dockyard_proxy.cc
  4. dockyard_proxy.h
  5. dockyard_proxy_fake.cc
  6. dockyard_proxy_fake.h
  7. dockyard_proxy_grpc.cc
  8. dockyard_proxy_grpc.h
  9. dockyard_proxy_grpc_test.cc
  10. dockyard_proxy_local.cc
  11. dockyard_proxy_local.h
  12. gather_category.cc
  13. gather_category.h
  14. gather_cpu.cc
  15. gather_cpu.h
  16. gather_cpu_test.cc
  17. gather_inspectable.cc
  18. gather_inspectable.h
  19. gather_inspectable_test.cc
  20. gather_introspection.cc
  21. gather_introspection.h
  22. gather_introspection_test.cc
  23. gather_memory.cc
  24. gather_memory.h
  25. gather_memory_digest.cc
  26. gather_memory_digest.h
  27. gather_memory_digest_test.cc
  28. gather_memory_test.cc
  29. gather_processes_and_memory.cc
  30. gather_processes_and_memory.h
  31. gather_processes_and_memory_test.cc
  32. gather_tasks.cc
  33. gather_tasks.h
  34. gather_tasks_test.cc
  35. gather_threads_and_cpu.cc
  36. gather_threads_and_cpu.h
  37. gather_threads_and_cpu_test.cc
  38. harvester.cc
  39. harvester.h
  40. harvester_fake.h
  41. harvester_main.cc
  42. harvester_test.cc
  43. README.md
  44. root_resource.cc
  45. root_resource.h
  46. root_resource_test.cc
  47. sample_bundle.cc
  48. sample_bundle.h
  49. sample_bundle_test.cc
  50. system_monitor_harvester.config
  51. task_tree.cc
  52. task_tree.h
  53. task_tree_test.cc
src/developer/system_monitor/bin/harvester/README.md

System Monitor Harvester

The Harvester runs on the Fuchsia device, acquiring Samples (units of introspection data) that it sends to the Host using the Transport system.

The Harvester should not unduly impact the Fuchsia device being monitored. So the Harvester does not store samples. Instead the samples are moved to the Dockyard as soon as reasonable.

Running tests

Before running the tests, add //bundles:tests to your fx set (i.e. args.gn), then execute:

$ fx run-test system_monitor_harvester_tests

If the test is not already built, fx run-test will built it before running it.