This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to create kernel-debuginfo


sunzen w. wrote:
hi,
I'm trying systemtap-snapshot-20060826 on Linux 2.6.18-rc3.
The current problem for me is how to get the kernel-debuginfo for
Linux 2.6.18-rc3. I searched the network , but found no results ,
neither got any tips about creating a kernel-debuginfo by oneself.
Could anyone give me some guides about it? Any commit is appreciated.

Best regards.

turn on "kernel hacking-->Compile the kernel with debug info" and recompile your kernel. The debuginfo file will located at /usr/src/linux-xxx/vmlinux.


you need copy it into /boot/vmlinux-xxx.debug.

You need also turn on the following options:

1. relayfs support:

General setup-->Kernel->user space relay support (formerly relayfs)

2. kprobe:

Instrumentation Support-->Kprobes

- Guanglei


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]