Mailing List Archive

Compile errors current linus tree with xen options enabled (seems related to jeremy's tracing changes)
Hi Jeremy/Konrad,

I have tried to compile linus his tree git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (commit ed8f37370d83e695c0a4fa5d5fc7a83ecb947526) but i'm encountering compile errors.
Switching of all "tracers" under "Kernel hacking" seems to circumvent these compile errors.

.config which gives the build errors attached (a "make defconfig" for x86_64 with minimal changes for xen and hardware support)

--
Sander


enlighten.c:(.text+0x1572): undefined reference to `__tracepoint_xen_mc_issue'
enlighten.c:(.text+0x159c): undefined reference to `__tracepoint_xen_mc_entry'
enlighten.c:(.text+0x15d2): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_load_sp0':
enlighten.c:(.text+0x163d): undefined reference to `__tracepoint_xen_mc_batch'
enlighten.c:(.text+0x1688): undefined reference to `__tracepoint_xen_mc_entry'
enlighten.c:(.text+0x1692): undefined reference to `__tracepoint_xen_mc_issue'
enlighten.c:(.text+0x16ca): undefined reference to `__tracepoint_xen_mc_issue'
enlighten.c:(.text+0x16fc): undefined reference to `__tracepoint_xen_mc_entry'
enlighten.c:(.text+0x1732): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_clts':
enlighten.c:(.text+0x1798): undefined reference to `__tracepoint_xen_mc_batch'
enlighten.c:(.text+0x17d8): undefined reference to `__tracepoint_xen_mc_entry'
enlighten.c:(.text+0x17e2): undefined reference to `__tracepoint_xen_mc_issue'
enlighten.c:(.text+0x181a): undefined reference to `__tracepoint_xen_mc_issue'
enlighten.c:(.text+0x184c): undefined reference to `__tracepoint_xen_mc_entry'
enlighten.c:(.text+0x1882): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_mc_flush':
(.text+0x18f4): undefined reference to `__tracepoint_xen_mc_flush'
arch/x86/built-in.o: In function `xen_mc_flush':
(.text+0x1a1a): undefined reference to `__tracepoint_xen_mc_flush'
arch/x86/built-in.o: In function `__xen_mc_entry':
(.text+0x1a84): undefined reference to `__tracepoint_xen_mc_entry_alloc'
arch/x86/built-in.o: In function `__xen_mc_entry':
(.text+0x1b06): undefined reference to `__tracepoint_xen_mc_entry_alloc'
arch/x86/built-in.o: In function `__xen_mc_entry':
(.text+0x1b43): undefined reference to `__tracepoint_xen_mc_flush_reason'
arch/x86/built-in.o: In function `__xen_mc_entry':
(.text+0x1b7c): undefined reference to `__tracepoint_xen_mc_flush_reason'
arch/x86/built-in.o: In function `xen_mc_callback':
(.text+0x1bdb): undefined reference to `__tracepoint_xen_mc_callback'
arch/x86/built-in.o: In function `xen_mc_callback':
(.text+0x1c22): undefined reference to `__tracepoint_xen_mc_flush_reason'
arch/x86/built-in.o: In function `xen_mc_callback':
(.text+0x1c34): undefined reference to `__tracepoint_xen_mc_callback'
arch/x86/built-in.o: In function `xen_mc_callback':
(.text+0x1c5d): undefined reference to `__tracepoint_xen_mc_flush_reason'
arch/x86/built-in.o: In function `xen_mc_extend_args':
(.text+0x1d0b): undefined reference to `__tracepoint_xen_mc_extend_args'
arch/x86/built-in.o: In function `xen_mc_extend_args':
(.text+0x1d2a): undefined reference to `__tracepoint_xen_mc_extend_args'
arch/x86/built-in.o: In function `xen_mc_extend_args':
(.text+0x1d47): undefined reference to `__tracepoint_xen_mc_extend_args'
arch/x86/built-in.o: In function `xen_mc_extend_args':
(.text+0x1d52): undefined reference to `__tracepoint_xen_mc_extend_args'
arch/x86/built-in.o: In function `xen_mc_extend_args':
(.text+0x1d83): undefined reference to `__tracepoint_xen_mc_extend_args'
arch/x86/built-in.o:(.text+0x1db5): more undefined references to `__tracepoint_xen_mc_extend_args' follow
arch/x86/built-in.o: In function `xen_extend_mmu_update':
mmu.c:(.text+0x2cc5): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x2cd0): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_start':
(.text+0x2d1a): undefined reference to `__tracepoint_xen_mmu_ptep_modify_prot_start'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_start':
(.text+0x2d5e): undefined reference to `__tracepoint_xen_mmu_ptep_modify_prot_start'
arch/x86/built-in.o: In function `xen_mc_batch':
mmu.c:(.text+0x2dcf): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x2df1): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_mc_issue':
mmu.c:(.text+0x2e23): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x2e62): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `__pin_pagetable_pfn':
mmu.c:(.text+0x324c): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x3283): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_extend_mmuext_op':
mmu.c:(.text+0x337d): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x3388): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_unpin_page':
mmu.c:(.text+0x34d5): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o:mmu.c:(.text+0x3547): more undefined references to `__tracepoint_xen_mc_entry' follow
arch/x86/built-in.o: In function `__xen_write_cr3':
mmu.c:(.text+0x36da): undefined reference to `__tracepoint_xen_mmu_write_cr3'
mmu.c:(.text+0x37d5): undefined reference to `__tracepoint_xen_mmu_write_cr3'
arch/x86/built-in.o: In function `xen_set_pmd_hyper':
mmu.c:(.text+0x3842): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x3872): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x38b2): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x38dc): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_set_pmd':
mmu.c:(.text+0x391a): undefined reference to `__tracepoint_xen_mmu_set_pmd'
mmu.c:(.text+0x3968): undefined reference to `__tracepoint_xen_mmu_set_pmd'
arch/x86/built-in.o: In function `xen_flush_tlb':
mmu.c:(.text+0x39af): undefined reference to `__tracepoint_xen_mmu_flush_tlb'
mmu.c:(.text+0x39d6): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x3a33): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x3a3d): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x3a7a): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x3aac): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x3ae2): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x3b17): undefined reference to `__tracepoint_xen_mmu_flush_tlb'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3b6b): undefined reference to `__tracepoint_xen_mmu_set_domain_pte'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3b92): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3c1b): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3c29): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3c8a): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3cbd): undefined reference to `__tracepoint_xen_mmu_set_domain_pte'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3cf2): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `xen_set_domain_pte':
(.text+0x3d27): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_remap_exchanged_ptes':
mmu.c:(.text+0x3d99): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x3e55): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x3e8c): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x3ec4): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x3f0a): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x3f3d): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `__xen_pgd_unpin':
mmu.c:(.text+0x3f89): undefined reference to `__tracepoint_xen_mmu_pgd_unpin'
mmu.c:(.text+0x3fb0): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x404d): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x4081): undefined reference to `__tracepoint_xen_mmu_pgd_unpin'
mmu.c:(.text+0x40b9): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x40e4): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_write_cr3':
mmu.c:(.text+0x4319): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4370): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x43be): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x43ec): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_set_pud_hyper':
mmu.c:(.text+0x4452): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4482): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x44c2): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x44ec): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_set_pud':
mmu.c:(.text+0x452a): undefined reference to `__tracepoint_xen_mmu_set_pud'
mmu.c:(.text+0x4578): undefined reference to `__tracepoint_xen_mmu_set_pud'
arch/x86/built-in.o: In function `xen_zap_pfn_range':
mmu.c:(.text+0x45e8): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4682): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x46da): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x4712): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x475a): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x478e): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_commit':
(.text+0x4a0f): undefined reference to `__tracepoint_xen_mmu_ptep_modify_prot_commit'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_commit':
(.text+0x4a36): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_commit':
(.text+0x4a8b): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_commit':
(.text+0x4aea): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_commit':
(.text+0x4b1f): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_ptep_modify_prot_commit':
(.text+0x4b4d): undefined reference to `__tracepoint_xen_mmu_ptep_modify_prot_commit'
arch/x86/built-in.o: In function `xen_flush_tlb_single':
mmu.c:(.text+0x4ba4): undefined reference to `__tracepoint_xen_mmu_flush_tlb_single'
mmu.c:(.text+0x4bcb): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4c33): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x4c3d): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x4c7a): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x4cac): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x4ce2): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4d16): undefined reference to `__tracepoint_xen_mmu_flush_tlb_single'
arch/x86/built-in.o: In function `xen_alloc_pud':
mmu.c:(.text+0x4d8a): undefined reference to `__tracepoint_xen_mmu_alloc_ptpage'
mmu.c:(.text+0x4df5): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4e6b): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x4e79): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x4eba): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x4eec): undefined reference to `__tracepoint_xen_mmu_alloc_ptpage'
mmu.c:(.text+0x4f29): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x4f5e): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_release_pte':
mmu.c:(.text+0x4fbe): undefined reference to `__tracepoint_xen_mmu_release_ptpage'
mmu.c:(.text+0x500b): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x508e): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x509c): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x50e2): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x510c): undefined reference to `__tracepoint_xen_mmu_release_ptpage'
mmu.c:(.text+0x5146): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x517d): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_flush_tlb_others':
mmu.c:(.text+0x51cc): undefined reference to `__tracepoint_xen_mmu_flush_tlb_others'
mmu.c:(.text+0x5213): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x52b3): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x52c1): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x530b): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x533c): undefined reference to `__tracepoint_xen_mmu_flush_tlb_others'
mmu.c:(.text+0x5373): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x53a5): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_release_pmd':
mmu.c:(.text+0x540e): undefined reference to `__tracepoint_xen_mmu_release_ptpage'
mmu.c:(.text+0x545b): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x54d1): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x54df): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x552a): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x555c): undefined reference to `__tracepoint_xen_mmu_release_ptpage'
mmu.c:(.text+0x5596): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x55cd): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_set_pgd':
mmu.c:(.text+0x562c): undefined reference to `__tracepoint_xen_mmu_set_pgd'
mmu.c:(.text+0x569b): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x56cd): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5720): undefined reference to `__tracepoint_xen_mmu_set_pgd'
mmu.c:(.text+0x5753): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x5785): undefined reference to `__tracepoint_xen_mc_issue'
arch/x86/built-in.o: In function `__xen_pgd_pin':
mmu.c:(.text+0x57d9): undefined reference to `__tracepoint_xen_mmu_pgd_pin'
mmu.c:(.text+0x5800): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x58a5): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x58e2): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5923): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x5940): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x596d): undefined reference to `__tracepoint_xen_mmu_pgd_pin'
mmu.c:(.text+0x59a1): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x59d4): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5a05): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_release_pud':
mmu.c:(.text+0x5b6e): undefined reference to `__tracepoint_xen_mmu_release_ptpage'
mmu.c:(.text+0x5bbb): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x5c31): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x5c3f): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5c8a): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5cbc): undefined reference to `__tracepoint_xen_mmu_release_ptpage'
mmu.c:(.text+0x5cf6): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x5d2d): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_alloc_pte':
mmu.c:(.text+0x5d9a): undefined reference to `__tracepoint_xen_mmu_alloc_ptpage'
mmu.c:(.text+0x5e05): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x5e7e): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x5e96): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5eda): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x5f0c): undefined reference to `__tracepoint_xen_mmu_alloc_ptpage'
mmu.c:(.text+0x5f49): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x5f7e): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_alloc_pmd':
mmu.c:(.text+0x5ffa): undefined reference to `__tracepoint_xen_mmu_alloc_ptpage'
mmu.c:(.text+0x6065): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x60db): undefined reference to `__tracepoint_xen_mc_entry'
mmu.c:(.text+0x60e9): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x612a): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x615c): undefined reference to `__tracepoint_xen_mmu_alloc_ptpage'
mmu.c:(.text+0x6199): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x61ce): undefined reference to `__tracepoint_xen_mc_entry'
arch/x86/built-in.o: In function `xen_set_pte':
mmu.c:(.text+0x620a): undefined reference to `__tracepoint_xen_mmu_set_pte'
mmu.c:(.text+0x6273): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x62c6): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x631a): undefined reference to `__tracepoint_xen_mmu_set_pte'
mmu.c:(.text+0x6351): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x6387): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_set_pte_at':
mmu.c:(.text+0x63ca): undefined reference to `__tracepoint_xen_mmu_set_pte_at'
mmu.c:(.text+0x643b): undefined reference to `__tracepoint_xen_mc_batch'
mmu.c:(.text+0x648e): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x64ea): undefined reference to `__tracepoint_xen_mmu_set_pte_at'
mmu.c:(.text+0x6527): undefined reference to `__tracepoint_xen_mc_issue'
mmu.c:(.text+0x655f): undefined reference to `__tracepoint_xen_mc_batch'
arch/x86/built-in.o: In function `xen_write_gdt_entry_boot':
enlighten.c:(.init.text+0x8de): undefined reference to `__tracepoint_xen_cpu_write_gdt_entry'
enlighten.c:(.init.text+0x8e9): undefined reference to `__tracepoint_xen_cpu_write_gdt_entry'
make: *** [.tmp_vmlinux1] Error 1
Re: Compile errors current linus tree with xen options enabled (seems related to jeremy's tracing changes) [ In reply to ]
On 08/03/2011 03:43 AM, Sander Eikelenboom wrote:
> Hi Jeremy/Konrad,
>
> I have tried to compile linus his tree git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (commit ed8f37370d83e695c0a4fa5d5fc7a83ecb947526) but i'm encountering compile errors.
> Switching of all "tracers" under "Kernel hacking" seems to circumvent these compile errors.
>
> .config which gives the build errors attached (a "make defconfig" for x86_64 with minimal changes for xen and hardware support)

Does this fix it?

J

>From 55a266630d0319c9eb4e0e067d4a0c7f27f978bd Mon Sep 17 00:00:00 2001
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: Tue, 2 Aug 2011 13:38:17 -0700
Subject: [PATCH] xen/tracing: it looks like we wanted CONFIG_FTRACE

Apparently we wanted CONFIG_FTRACE rather the CONFIG_FUNCTION_TRACER.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index ce69201..1894b4a 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -15,7 +15,7 @@ obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
grant-table.o suspend.o platform-pci-unplug.o \
p2m.o

-obj-$(CONFIG_FUNCTION_TRACER) += trace.o
+obj-$(CONFIG_FTRACE) += trace.o

obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Compile errors current linus tree with xen options enabled (seems related to jeremy's tracing changes) [ In reply to ]
Hi Jeremy,

Compile and boot tested with a freshly made .config from "make defconfig" and enabling the xen options, thx !

--
Sander


Wednesday, August 3, 2011, 6:43:44 PM, you wrote:

> On 08/03/2011 03:43 AM, Sander Eikelenboom wrote:
>> Hi Jeremy/Konrad,
>>
>> I have tried to compile linus his tree git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (commit ed8f37370d83e695c0a4fa5d5fc7a83ecb947526) but i'm encountering compile errors.
>> Switching of all "tracers" under "Kernel hacking" seems to circumvent these compile errors.
>>
>> .config which gives the build errors attached (a "make defconfig" for x86_64 with minimal changes for xen and hardware support)

> Does this fix it?

> J

> From 55a266630d0319c9eb4e0e067d4a0c7f27f978bd Mon Sep 17 00:00:00 2001
> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
> Date: Tue, 2 Aug 2011 13:38:17 -0700
> Subject: [PATCH] xen/tracing: it looks like we wanted CONFIG_FTRACE

> Apparently we wanted CONFIG_FTRACE rather the CONFIG_FUNCTION_TRACER.

> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

> diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
> index ce69201..1894b4a 100644
> --- a/arch/x86/xen/Makefile
> +++ b/arch/x86/xen/Makefile
> @@ -15,7 +15,7 @@ obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
> grant-table.o suspend.o platform-pci-unplug.o \
> p2m.o
>
> -obj-$(CONFIG_FUNCTION_TRACER) += trace.o
> +obj-$(CONFIG_FTRACE) += trace.o
>
> obj-$(CONFIG_SMP) += smp.o
> obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o





--
Best regards,
Sander mailto:linux@eikelenboom.it


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel