|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <los_perf.h>

成员变量 | |
| PerfEventConfig | eventsCfg |
| UINT32 | taskIds [32] |
| UINT32 | taskIdsNr |
| UINT32 | sampleType |
| BOOL | needSample |
| BOOL | taskFilterEnable |
perf configuration main information
This structure is used to set perf sampling attributes, including events, tasks and other information.
| PerfEventConfig PerfConfigAttr::eventsCfg |
perf event config
| BOOL PerfConfigAttr::needSample |
whether to sample data
| UINT32 PerfConfigAttr::sampleType |
type of data to sample defined in PerfSampleType
| BOOL PerfConfigAttr::taskFilterEnable |
whether to filter tasks
| UINT32 PerfConfigAttr::taskIds[32] |
perf task filter list (whitelist)
| UINT32 PerfConfigAttr::taskIdsNr |
task numbers of task filter whitelist, if set 0 perf will sample all tasks