This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [ltt-dev] LTTng 0.10 for Linux 2.6.26
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: Mathieu Desnoyers <compudj at krystal dot dyndns dot org>
- Cc: Takashi Nishiie <t-nishiie at np dot css dot fujitsu dot com>, ltt-dev at lists dot casi dot polymtl dot ca, systemtap at sources dot redhat dot com
- Date: Thu, 17 Jul 2008 13:13:39 +0800
- Subject: Re: [ltt-dev] LTTng 0.10 for Linux 2.6.26
- References: <20080715024754.GA26471@Krystal> <000001c8e7aa$b9548600$2bfd9200$@css.fujitsu.com> <20080717024550.GA22869@Krystal>
Mathieu Desnoyers wrote:
* Takashi Nishiie (t-nishiie@np.css.fujitsu.com) wrote:
Hi.
http://ltt.polymtl.ca/lttng/patch-2.6.26-0.10.tar.bz2
I found a suspicious point though I compiled by the x86 architecture.
Distribution: Red Hat Enterprise Linux 5
gcc: gcc-4.1.2-42.el5
In Module.markers
<snip>
kernel_arch_trap_exit vmlinux
kernel_irq_entry vmlinux irq_id %u kernel_mode %u
kernel_irq_exit vmlinux
kernel_irq_exit vmlinux handled #1u%u
kernel_kthread_stop vmlinux pid %d
<snip>
Why are two kernel_irq_exit list?
That's because you have an old Modules.markers in your tree. Try
deleting the old one and to recompile the kernel. This should probably
be fixed in modpost.c.
Remember it had been discussed in
http://sources.redhat.com/ml/systemtap/2008-q1/msg00466.html
Roland's patch plus removing/emptying the file before vmlinux-modpost
in scripts/Makefile.modpost like:
vmlinux.o: FORCE
+ @rm -fr $(kernelmarkersfile)
$(call cmd,kernel-mod)
will solve the problem.
Regards,
Wenji