[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080718133759.GO18295@redhat.com>
Date: Fri, 18 Jul 2008 09:37:59 -0400
From: "Frank Ch. Eigler" <fche@...hat.com>
To: James Bottomley <James.Bottomley@...senPartnership.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Andi Kleen <andi@...stfloor.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
systemtap@...rceware.org, jbeulich@...ell.com
Subject: Re: [RFC] systemtap: begin the process of using proper kernel APIs (part1: use kprobe symbol_name/offset instead of address)
Hi -
On Fri, Jul 18, 2008 at 08:21:24AM -0500, James Bottomley wrote:
> [...] I'm not entirely convinced systemtap wants full stack
> unwinding in the kernel.
Sure we "want" it if we can get it. It enables richer data gathering.
It lets scripts act on the contents of the call stack ("is this probe
being run due to a callback from this or that shared library?").
> [...] However, systemtap in userspace sees all the relevant dwarf
> information as well ... it could do a much better job of unwinding:
> give file and line and arguments for function calls, for instance.
> All it really needs is to have the relevant pieces of the stack
> relayed back.
The relevant bits of stack for a userspace program could include
several megabytes per thread; without unwind info we can't be sure
which parts are which. (A full gdb symbolic backtrace takes seconds
to compute - something we can't possibly afford in situ.)
- FChE
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists