3303-flashcards/hATaBiZQ - 3303/t6YjW9xw - Compare the two main Monitoring Modes Event Trace vs Sampling.md
2026-04-20 23:08:47 -04:00

392 B

Compare the two main Monitoring Modes: Event Trace vs. Sampling.


🔄

  • Event Trace: Collects info on specific state changes via probes; has low overhead (~5%) but shouldn't be used in sensitive areas like interrupt handlers.
  • Sampling: Polls the system state periodically; accuracy is proportional to overhead (higher accuracy requires more frequent polling).