Misc API cleanup and consistency fixes (#1023)

- ROCPROFILER_API after function
- use rocprofiler_tracing_operation_t in lieu of uint32_t where appropriate
- rocprofiler_tracing_operation_t is not int32_t typedef (formerly uint32_t)
- use const T* instead of T* where appropriate

[ROCm/rocprofiler-sdk commit: bb25376480]
This commit is contained in:
Jonathan R. Madsen
2024-08-20 01:06:12 -05:00
committed by GitHub
parent 82a089ac0a
commit 264c48fa69
32 changed files with 185 additions and 176 deletions
@@ -121,6 +121,5 @@ callbacks_init();
void
callbacks_fini();
}; // namespace Callbacks
}; // namespace ATTTest
} // namespace Callbacks
} // namespace ATTTest
@@ -240,7 +240,7 @@ consume_args(Args&&...)
int
save_args(rocprofiler_callback_tracing_kind_t domain_idx,
uint32_t op_idx,
rocprofiler_tracing_operation_t op_idx,
uint32_t arg_num,
const void* const arg_value_addr,
int32_t arg_indirection_count,