Project: mesos
Issue MESOS-3185: Refactor Subprocess logic in linux/perf.cpp to use common subroutine
MESOS-2834 will enhance the perf isolator to support the different output formats provided by difference kernel versions. In order to achieve this, it requires to execute the "perf --version" command. We should decompose the existing Subcommand processing in perf so that we can share the implementation between the multiple uses of perf.
Story points: 3