You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cong Wang (JIRA)" <ji...@apache.org> on 2015/09/23 19:51:05 UTC

[jira] [Updated] (MESOS-3399) Rewrite perf events code

     [ https://issues.apache.org/jira/browse/MESOS-3399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cong Wang updated MESOS-3399:
-----------------------------
    Labels: twitter  (was: )

> Rewrite perf events code
> ------------------------
>
>                 Key: MESOS-3399
>                 URL: https://issues.apache.org/jira/browse/MESOS-3399
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Cong Wang
>            Assignee: Cong Wang
>            Priority: Minor
>              Labels: twitter
>
> Our current code base invokes and parses `perf stat`, which sucks, because cmdline output is not a stable ABI at all, it can break our code at any time, for example MESOS-2834.
> We should use the stable API perf_event_open(2). With this patch https://reviews.apache.org/r/37540/, we already have the infrastructure for the implementation, so it should not be hard to rewrite all the perf events code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)