Cong Wang created MESOS-3399:
--------------------------------

             Summary: 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


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)

Reply via email to