The ROC Tracer API can trace multiple runtime libraries. Each library can have API operations and asynchronous operations that can be traced.
More...
The ROC Tracer API can trace multiple runtime libraries. Each library can have API operations and asynchronous operations that can be traced.
◆ roctracer_domain_t
Enumeration of domains that can be traced.
◆ roctracer_op_code()
Query the operation code given a domain and the name of an operation.
- Parameters
-
[in] | domain | The domain being queried. |
[in] | str | The NUL terminated name of the operation name being queried. |
[out] | op | The operation code. |
[out] | kind | If not NULL then the operation kind code. |
- Return values
-
◆ roctracer_op_string()
ROCTRACER_API const char* roctracer_op_string |
( |
uint32_t |
domain, |
|
|
uint32_t |
op, |
|
|
uint32_t |
kind |
|
) |
| |
Query textual name of an operation of a domain.
- Parameters
-
[in] | domain | Domain being queried. |
[in] | op | Operation within domain . |
[in] | kind | |
- Todo:
- Define kind.
- Returns
- Returns the NUL terminated string for the operation name, or NULL if the domain or operation are invalid. The string is owned by the ROC Tracer library.
◆ roctracer_set_properties()
Set the properties of a domain.
- Parameters
-
[in] | domain | The domain. |
[in] | properties | The properties. Each domain defines its own type for the properties. Some domains require the properties to be set before they can be enabled. |
- Return values
-