aclprofSetConfig
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets profile data collection parameters. This API functions as an extended API of aclprofCreateConfig.
This API can be called for multiple times. You need to ensure data consistency and accuracy.
Prototype
aclError aclprofSetConfig(aclprofConfigType configType, const char *config, size_t configLength)
Parameters
Returns
0 on success; else, failure. For details, see aclError.
Restrictions
Call aclprofSetConfig and then aclprofStart. You can call this API as required.
Parent topic: Profiling Data Collection APIs