Dateien
rocm-systems/samples/api_buffered_tracing
Meserve, Mark fc2513888f SWDEV-445864: SWDEV-445865: Update page migration events (#16)
* Update kfd ioctl header

- Adds new event for dropped events
- Mirrors kernel update by Philip Yang

* Add error code for page migration events

- Adds support for new error code field for page migration end events
  - Page migration end event is now generated for migration failure
  - Error code is zero for successful migration

* Add dropped event SMI event

- New event type indicates if events were dropped
  - Events are dropped if the buffer is full
2024-12-05 20:44:10 +00:00
..
2023-11-14 10:58:33 -06:00

API Buffer Tracing Sample

Services

  • Code object callback tracing for mapping kernel IDs to kernel names
  • HSA API (Core, AMD Ext)
  • HIP API (Runtime)
  • Kernel dispatch
  • Memory copy
  • Page Migration
  • Scratch Memory

Properties

  • Buffer size of 4096 bytes which is automatically flushed once >= 87.5% of buffer is filled (3584 bytes)
  • Creation of dedicated thread for buffer callback delivery
  • Push external correlation IDs once per thread (value is thread ID)
  • Receives notifications for internal thread creation