[
https://issues.apache.org/jira/browse/MESOS-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622886#comment-14622886
]
Cong Wang commented on MESOS-2834:
----------------------------------
Why the kernel version matters here? Doesn't the `perf stat` output format only
depend on perf itself? I know usually they match, but what if people use a
newer perf on an older kernel (or vice versa)?
Ideally we should use perf_event_open(2) rather than parsing perf output which
isn't ABI at all, in practice the ring buffer is not easy to parse.
> Support different perf output formats
> -------------------------------------
>
> Key: MESOS-2834
> URL: https://issues.apache.org/jira/browse/MESOS-2834
> Project: Mesos
> Issue Type: Improvement
> Components: isolation
> Reporter: Ian Downes
> Assignee: Paul Brett
> Labels: twitter
>
> The output format of perf changes in 3.14 (inserting an additional field) and
> in again in 4.1 (appending additional) fields. See kernel commits:
> 410136f5dd96b6013fe6d1011b523b1c247e1ccb
> d73515c03c6a2706e088094ff6095a3abefd398b
> Update the perf::parse() function to understand all these formats.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)