nocjj d8f7c63405 vcpustat: modify vcpu info acquirement from debugfs
Previous judgement to determine whether the vcpustat info matches the process is:
strstr(buf, pid) == buf + 1
But there is an exception that the kvm exit times may contain process pid string.
And then, we will calculate the delta between two defferent process.
So, modify this judgement codition.
2020-09-28 11:57:52 +08:00
2020-09-22 20:17:20 +08:00
Description
No description provided
120 KiB
Languages
Diff 100%