[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinE9bpTpKzh_T83z1zmHz2PofcZNcuymeiZ+gAy@mail.gmail.com>
Date: Sat, 4 Sep 2010 23:04:16 +0800
From: Hui Zhu <teawater@...il.com>
To: "Frank Ch. Eigler" <fche@...hat.com>
Cc: Steven <mqyoung@...il.com>,
"gdb@...rceware.org" <gdb@...rceware.org>,
linux-kernel@...r.kernel.org, Michael Snyder <msnyder@...are.com>,
Marc Khouzam <marc.khouzam@...csson.com>,
Thiago Jung Bauermann <thiago.bauermann@...il.com>
Subject: Re: Linux Kernel GDB tracepoint module 2010-8-30 release
Hi Frank,
I met a issue with build systemtap. Build it need (install
elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel), but ubuntu
looks don't have it.
I try to build elfutils-0.148 with myself, but after I install it,
when I compile other code, I got:
/usr/local/bin/ld: /usr/lib/libelf.so.1: version `ELFUTILS_1.5' not
found (required by /usr/local/bin/ld)
collect2: ld returned 1 exit status
It really scared me.
Did you meet this issue in before?
Thanks,
Hui
On Sat, Sep 4, 2010 at 13:11, Frank Ch. Eigler <fche@...hat.com> wrote:
> Hi -
>
> On Sat, Sep 04, 2010 at 12:29:56PM +0800, Hui Zhu wrote:
>
>> [...] Could you talk about how it do call stack dump like following?
>> (gdb) trace vfs_readdir
>> Tracepoint 1 at 0xffffffff8113f7fc: file
>> /home/teawater/kernel/linux-2.6/fs/readdir.c, line 24.
>> (gdb) actions
>> >collect *(unsigned char *)$rsp@512
>
> probe kernel.function("vfs_readdir") {
> // if you want the whole kernel-side backtrace, dwarf-unwound
> print_backtrace()
> // or else just hex-dump a region
> printf("%*M\n", 512, register("rsp"))
> }
>
>
>> BTW, I was not find out which ARCH of the systemtap support in its
>> website? It support all the arch that kprobe support?
>
> Yes, basically, though it's mostly tested on RHELy platforms (x86,
> powerpc, s390, ia64).
>
> - 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