Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.27.1
-
None
Description
When sampling container with perf event on Centos7 with kernel
3.10.0-123.el7.x86_64, slave complained with below error spew:
E0218 16:32:00.591181 8376 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '25871993253,,cycles,mesos/5f23ffca-87ed-4ff6-84f2-6ec3d4098ab8,10059827422,100.00': Unexpected number of fields
it's caused by the current perf format assumption with kernel version below 3.12
On 3.10.0-123.el7.x86_64 kernel, the format is with 6 tokens as below:
value,unit,event,cgroup,running,ratio
A local modification fixed this error on my test bed, please review this ticket.
Attachments
Issue Links
- is duplicated by
-
MESOS-4655 PerfEventIsolatorTest.ROOT_CGROUPS_Sample failed in CentOS 7.1
- Resolved
- relates to
-
MESOS-7049 CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest is broken on Fedora 25.
- Resolved
-
MESOS-2834 Support different perf output formats
- Resolved