• Brett Wilson's avatar
    Add profiling process control channel. · 79b69b21
    Brett Wilson authored
    This new Mojo channel connects the profiling process and the browser process. It should be run only when the enable_oop_heap_profiling is enabled, and when run with --memlog.
    
    Fixes a bug on Posix memlog streams because sendmsg is not atomic for large messages.
    
    Various refactoring of the profiling process. The separate IO thread has been removed and the main thread is now the IO thread.
    
    NOPRESUBMIT=true (seems to crash presubmit checks, bug filed)
    
    Change-Id: I93909bb95bfbd10348c0c7d51c80aa44cb26f7aa
    Reviewed-on: https://chromium-review.googlesource.com/564157
    Commit-Queue: Brett Wilson <brettw@chromium.org>
    Reviewed-by: default avatarAlbert J. Wong <ajwong@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#486140}
    79b69b21
memlog_sender_pipe_win.cc 2.28 KB