[ 
https://issues.apache.org/jira/browse/MESOS-8908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gavin updated MESOS-8908:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Add -fno-omit-frame-pointer to improve debugging and profiling.
> ---------------------------------------------------------------
>
>                 Key: MESOS-8908
>                 URL: https://issues.apache.org/jira/browse/MESOS-8908
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build, libprocess, stout
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Bannier
>            Priority: Major
>             Fix For: 1.7.0
>
>
> Currently, we build without {{-fno-omit-frame-pointer}} which is needed to 
> get reliable stack traces. Without this, obtaining {{perf}} profiles from 
> users is not reliable:
> http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html#C
> Apparently, the performance win from frame pointer omission is very minor and 
> many projects opt to disable the optimization given the benefits to debugging 
> and profiling.
> I tried the {{--call-graph dwarf}} "workaround" for perf but still 
> experienced {{[unknown]}} stack frames and what looked to be missing frames:
> http://www.brendangregg.com/perf.html#StackTraces (see dwarf section)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to