Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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)
Attachments
Issue Links
- relates to
-
MESOS-6229 Default to using hardened compilation flags
- Resolved