aclprofSetStampTraceMessage

Description

Sets string description in a msproftx event stamp, which is parsed and exported in the msprof_tx summary data of the Profiling tool.

Restrictions

This API must be called between aclprofCreateStamp and aclprofDestroyStamp.

Prototype

aclError aclprofSetStampTraceMessage(void *stamp, const char *msg, uint32_t msgLen)

Parameters

Parameter

Input/Output

Description

stamp

Input

Stamp pointer, indicating a msproftx event stamp.

This API is used to specify the pointer to aclprofCreateStamp.

msg

Input

Pointer to the stamp information string.

msgLen

Input

String length.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.

See Also

For the API call example, see Profile Data Collection.