Please sign in to comment.
compile with -fno-omit-frame-pointer
By default, depending on the version, gcc can reuse the frame pointer register. This is a micro-optimization that might help on some very old x86 processors. However, it also makes dynamic tracing less useful because the stacks cannot be easily observed. This rule change instructs gcc to use the -fno-omit-frame-pointer option when compiling. Reviewed-by: Olaf Faaland <email@example.com> Reviewed by: Brian Behlendorf <firstname.lastname@example.org> Signed-off-by: Richard Elling <Richard.Elling@RichardElling.com> Closes #8617
- Loading branch information...
Showing with 23 additions and 0 deletions.