[ltt-dev] LTTng 0.10 for Linux 2.6.26

Wenji Huang wenji.huang at oracle.com
Thu Jul 17 01:13:39 EDT 2008


Mathieu Desnoyers wrote:
> * Takashi Nishiie (t-nishiie at 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




More information about the lttng-dev mailing list