[Top][All Lists]

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

Re: [Libunwind-devel] [RFC][patch] Fix crash in _ULx86_64_tdep_trace whe

From: Lassi Tuura
Subject: Re: [Libunwind-devel] [RFC][patch] Fix crash in _ULx86_64_tdep_trace when sigaltstack is too far away
Date: Fri, 11 Nov 2011 18:46:30 +0100


>> I don't see any major disadvantages for fix 3.

On second thought... The frame info recorded needs to be cacheable by %rip,
and will be reused purely by %rip regardless of stack layout.

If we are recording the real sigcontext_t address, will that still work?
The original format hoped to be cacheable by recording only a delta from
the current CFA so it's not dependent on actual stack location - not so
good an idea with alt stacks as you noticed.

I might try experiment a bit with a few of our apps being profiled.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]