rocprofiler-sdk/experimental/thread-trace/trace_decoder.h Source File#
|
ROCprofiler-SDK developer API 1.0.0
ROCm Profiling API and tools
|
trace_decoder.h
69 * Not all application code objects are required to be reported here, only the ones containing code
72 * INFO_STITCH_INCOMPLETE will be generated and instructions will not be reported with a PC address.
rocprofiler_status_t rocprofiler_trace_decode(rocprofiler_thread_trace_decoder_id_t handle, rocprofiler_thread_trace_decoder_callback_t callback, void *data, uint64_t size, void *userdata)
Decodes shader data returned by rocprofiler_thread_trace_shader_data_callback_t. Use rocprofiler_thre...
const char * rocprofiler_thread_trace_decoder_info_string(rocprofiler_thread_trace_decoder_id_t handle, rocprofiler_thread_trace_decoder_info_t info)
Returns the string description of a rocprofiler_thread_trace_decoder_info_t record.
rocprofiler_status_t rocprofiler_thread_trace_decoder_create(rocprofiler_thread_trace_decoder_id_t *handle, const char *path)
Initializes Trace Decoder library with a library search path.
rocprofiler_thread_trace_decoder_record_type_t
Defines the type of payload received by rocprofiler_thread_trace_decoder_callback_t.
Definition trace_decoder_types.h:219
rocprofiler_thread_trace_decoder_info_t
Describes the type of info received.
Definition trace_decoder_types.h:39
rocprofiler_status_t rocprofiler_thread_trace_decoder_codeobj_unload(rocprofiler_thread_trace_decoder_id_t handle, uint64_t load_id)
Unloads a code object binary.
void rocprofiler_thread_trace_decoder_destroy(rocprofiler_thread_trace_decoder_id_t handle)
Deletes handle created by rocprofiler_thread_trace_decoder_create.
rocprofiler_status_t rocprofiler_thread_trace_decoder_codeobj_load(rocprofiler_thread_trace_decoder_id_t handle, uint64_t load_id, uint64_t load_addr, uint64_t load_size, const void *data, uint64_t size)
Loads a code object binary to match with Thread Trace. The size, data and load_* are reported by rocp...
void(* rocprofiler_thread_trace_decoder_callback_t)(rocprofiler_thread_trace_decoder_record_type_t record_type_id, void *trace_events, uint64_t trace_size, void *userdata)
Callback for rocprof-trace-decoder to return decoder traces back to user.
Definition trace_decoder.h:113
Handle containing a loaded rocprof-trace-decoder and a decoder state.
Definition trace_decoder.h:40
Generated by