rocprofiler-sdk/external_correlation.h File Reference

rocprofiler-sdk/external_correlation.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/external_correlation.h File Reference
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
external_correlation.h File Reference
+ Include dependency graph for external_correlation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* rocprofiler_external_correlation_id_request_cb_t) (rocprofiler_thread_id_t thread_id, rocprofiler_context_id_t context_id, rocprofiler_external_correlation_id_request_kind_t kind, rocprofiler_tracing_operation_t operation, uint64_t internal_corr_id_value, rocprofiler_user_data_t *external_corr_id_value, void *data)
 Callback requesting a value for the external correlation id.
 

Enumerations

enum  rocprofiler_external_correlation_id_request_kind_t {
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_NONE = 0 ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HSA_CORE_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HSA_AMD_EXT_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HSA_IMAGE_EXT_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HSA_FINALIZE_EXT_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HIP_RUNTIME_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HIP_COMPILER_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_MARKER_CORE_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_MARKER_CONTROL_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_MARKER_NAME_API ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_MEMORY_COPY ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_KERNEL_DISPATCH ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_SCRATCH_MEMORY ,
  ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_LAST
}
 ROCProfiler External Correlation ID Operations. More...
 

Functions

rocprofiler_status_t rocprofiler_configure_external_correlation_id_request_service (rocprofiler_context_id_t context_id, const rocprofiler_external_correlation_id_request_kind_t *kinds, unsigned long kinds_count, rocprofiler_external_correlation_id_request_cb_t callback, void *callback_args)
 Configure External Correlation ID Request Service.
 
rocprofiler_status_t rocprofiler_push_external_correlation_id (rocprofiler_context_id_t context, rocprofiler_thread_id_t tid, rocprofiler_user_data_t external_correlation_id)
 Push default value for external field in rocprofiler_correlation_id_t onto stack.
 
rocprofiler_status_t rocprofiler_pop_external_correlation_id (rocprofiler_context_id_t context, rocprofiler_thread_id_t tid, rocprofiler_user_data_t *external_correlation_id)
 Pop default value for external field in rocprofiler_correlation_id_t off of stack.