Re: StackTrace options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On 2/5/08, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
> http://kernelnewbies.org/FAQ/StackTrace?highlight=%28CategoryFAQ%29
>
>  From to the above page, what are the differences among the following
> config options:
>
> CONFIG_FRAME_POINTER, CONFIG_STACKTRACE, CONFIG_UNWIND_INFO and
> CONFIG_STACK_UNWIND
>
> Or should it be the time now for them to be reduced to ONE?

>From my limited knowledge, I think config_frame_pointer is what you
need if you just need to reliably see the 1st, 2nd frame. But if you
need to make sure you see the whole chain almost correctly, then you
might need the other options too. Unwinding stack...AFAIK..is
something that gdb does too in order to track call chain. And it costs
you some perfomance degradation.

And remember, all of these things still doesn't guarantee you won't
get corrupted stack frames.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux