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

Rewrite perf events code

    XMLWordPrintableJSON

Details

    • Task
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • Twitter Mesos Q3 Sprint 5, Twitter Mesos Q3 Sprint 6
    • 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

              wangcong Cong Wang
              wangcong Cong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: