This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10821] unwind_frame has an oversized frame
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 28 Oct 2009 11:57:16 -0000
- Subject: [Bug runtime/10821] unwind_frame has an oversized frame
- References: <20091021160620.10821.jistone@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2009-10-28 11:57 -------
This comes from the unwind_frame() local struct unwind_state state;
Which is defined in unwind/unwind.h as:
struct unwind_state {
uleb128_t loc, org;
const u8 *cieStart, *cieEnd;
uleb128_t codeAlign;
sleb128_t dataAlign;
struct cfa {
uleb128_t reg, offs;
} cfa;
struct unwind_item regs[ARRAY_SIZE(reg_info)];
unsigned stackDepth:8;
unsigned version:8;
const u8 *label;
const u8 *stack[STP_MAX_STACK_DEPTH];
};
So with struct unwind_item regs[ARRAY_SIZE(reg_info)]; that is pretty big...
It would be nice if we could allocate this per thread/cpu.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10821
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.