Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3399

Rewrite perf events code

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Twitter Mesos Q3 Sprint 5, Twitter Mesos Q3 Sprint 6
    • Story Points:
      5

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wangcong Cong Wang
                Reporter:
                wangcong Cong Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: