8850e46071
Change-Id: I5a16e05b7df438efa903948701b65a9ced99e5f3 initial codeobj event implementation Change-Id: Ia7fac3c2b9897a004cfe88c4de82ba8c18284196 update - codeobj event implementation Change-Id: I2b91b6e689875af03f0086f5a0872a97a629fd83 update2 - codeobj event implementation Change-Id: Icff75f14fd21963e40db95373fa74880957a9e32 fix - codeobj event implementation Change-Id: I76c33c875cb429fb12a974bb408b217f187b4536 URI buffer fix - codeobj event implementation Change-Id: I7ce1a758e021455da3fe5b8a6e4ae3ab46e9760e HSA events exposing Change-Id: I3664ab4e5111c4ccedaf068dcb19f48055f0ef9b HSA events data struct normalizing Change-Id: I365ef0db45e0a9314bd2a1a4d29dd4eb4e91297d
27 lines
697 B
C
27 lines
697 B
C
#ifndef _SRC_CORE_ACTIVITY_H
|
|
#define _SRC_CORE_ACTIVITY_H
|
|
|
|
#ifdef ROCP_INTERNAL_BUILD
|
|
#include "inc/rocprofiler.h"
|
|
#else
|
|
#include <rocprofiler/rocprofiler.h>
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
// HSA EVT ID enumeration
|
|
enum hsa_evt_id_t {
|
|
HSA_EVT_ID_ALLOCATE = ROCPROFILER_HSA_CB_ID_ALLOCATE,
|
|
HSA_EVT_ID_DEVICE = ROCPROFILER_HSA_CB_ID_DEVICE,
|
|
HSA_EVT_ID_MEMCOPY = ROCPROFILER_HSA_CB_ID_MEMCOPY,
|
|
HSA_EVT_ID_SUBMIT = ROCPROFILER_HSA_CB_ID_SUBMIT,
|
|
HSA_EVT_ID_KSYMBOL = ROCPROFILER_HSA_CB_ID_KSYMBOL,
|
|
HSA_EVT_ID_CODEOBJ = ROCPROFILER_HSA_CB_ID_CODEOBJ,
|
|
HSA_EVT_ID_NUMBER
|
|
};
|
|
|
|
// HSA EVT callback data type
|
|
typedef rocprofiler_hsa_callback_data_t hsa_evt_data_t;
|
|
|
|
#endif // _SRC_CORE_ACTIVITY_H
|