incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Mahler" <>
Subject Re: Review Request: Added profiler endpoints in libprocess.
Date Wed, 12 Dec 2012 20:32:10 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Dec. 12, 2012, 8:32 p.m.)

Review request for mesos, Benjamin Hindman and Vinod Kone.


Small changes from benh review.
Retested the profiling on CentOS.


This adds the following endpoints to libprocess:

'/profiler/start': Starts the profiler via ProfilerStart()
'/profiler/stop': Stops the profiler via ProfilerStop(), also returns the output file.

This allows profiling libprocess on the fly.
Note that it's not considered stable on 64 bit systems, due to issues with libunwind and glibc.

Diffs (updated)

  third_party/libprocess/ 6b68c69b07b831255d34a68d7b9b4b37eee55167 
  third_party/libprocess/include/process/http.hpp ced8c1ab69952c4297d92b472f8d3edb5954105c

  third_party/libprocess/include/process/profiler.hpp PRE-CREATION 
  third_party/libprocess/src/process.cpp e408ca9274f1253e3e67c656561a9366dd2bce33 



Profiled using mesos-local and examined output.

FWIW I didn't observe any crashes, but I've only profiled with mesos-local and for O(minutes).


Ben Mahler

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message