diff --git a/services/init/init_capability.c b/services/init/init_capability.c index 6089e846aaf5a247735ff334c53cc63101f92a1f..8cc813c8815402822e5ebb20ffdc686c86ba492d 100644 --- a/services/init/init_capability.c +++ b/services/init/init_capability.c @@ -71,6 +71,9 @@ static unsigned int GetCapByString(const char *capStr) { "WAKE_ALARM", CAP_WAKE_ALARM }, { "BLOCK_SUSPEND", CAP_BLOCK_SUSPEND }, { "AUDIT_READ", CAP_AUDIT_READ }, +#if defined CAP_PERFMON + { "PERFMON", CAP_PERFMON }, +#endif }; int mapSize = (int)ARRAY_LENGTH(capStrCapNum); int capLen = strlen("CAP_");