Files
rocm-systems/projects/rocprofiler-sdk/samples/pc_sampling/README.md
T
systems-assistant[bot] ad0fb25ed5 Add 'projects/rocprofiler-sdk/' from commit 'bf0fad1d5406fbc51403ba1aa9621a9d4a9bce2b'
git-subtree-dir: projects/rocprofiler-sdk
git-subtree-mainline: 50a90550e9
git-subtree-split: bf0fad1d54
2025-07-22 22:52:46 +00:00

691 B

PC sampling service

Services

  • PC sampling stochastic method

Properties

  • Iterate through all gpu agents that supports PC sampling.
  • Iterate through the supported configuration for that agent.
  • The configure_pc_sampling_prefer_stochastic function is responsible for configuring PC sampling on a given GPU agent. It attempts to select a stochastic sampling configuration if available, falling back to a host-trap configuration otherwise.
  • rocprofiler_pc_sampling_callback function processes PC sampling records delivered by the profiler. It validates the records, determines their type, and delegates the printing of their details to the appropriate print_sample function.