Function GenieProfile_create

Function Documentation

Genie_Status_t GenieProfile_create(const GenieProfileConfig_Handle_t configHandle, GenieProfile_Handle_t *profileHandle)

A function to create a handle to a profile object.

Parameters
  • configHandle[in] A handle to a valid config. Can be NULL which indicates that a default set of basic profiling events will be collected.

  • profileHandle[out] A handle to the created profile handle. Must not be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_MEM_ALLOC: Memory allocation failure.