I'm attempting to use task_policy_get from a KEXT and am receiving the following error:
sudo /usr/bin/kmutil load -p myKext
Error Domain=KMErrorDomain Code=31 "Error occurred while building a collection:
1: One or more binaries has an error which prevented linking. See other errors.
2: Could not use 'myKext' because: Failed to bind '_task_policy_get' in 'myKext' (at offset 0x320 in __DATA_CONST, __got) as could not find a kext which exports this symbol"
I would expect that task_policy_get is a usable KPI?
11.3 Beta (20E5210c)
Mac mini (M1, 2020)
What I am actually wanting to do is to temporarily increase the qos values for a process. Maybe there is a better way of doing this?
8
0
1.4k