• judeng's avatar
    add -fno-omit-frame-pointer to default complication flags (#12973) · fc3a68d8
    judeng authored
    Currently redis uses O3 level optimization would remove the frame pointer
    in the target bin.
    
    In the very old past, when gcc optimized at O1 and above levels, the
    frame pointer is deleted by default to improve performance. This saves
    the RBP registers and reduces the pop/push instructions. But it makes it
    difficult for us to observe the running status of the program. For
    example, the perf tool cannot be used effectively, especially the modern
    eBPF tools such as bcc/memleak.
    fc3a68d8
Makefile 16.5 KB