On Wed, 09 May 2007 01:23:22 PDT, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm2/ So I'm trying to get the Intel PowerTop stuff working, and discovered that / proc/timer_stats and/or /proc/tstats has moved to /debug in -mm2 - but only if you're building for S390. For other architechtures it just evaporates entirely. I had to bash this patch in to get it to get included in an x86_64 build: --- linux-2.6.21-mm2/arch/x86_64/Kconfig.statistics 2007-05-14 23:01:00.000000000 -0400 +++ linux-2.6.21-mm2/arch/x86_64/Kconfig 2007-05-14 23:00:45.000000000 -0400 @@ -793,6 +793,8 @@ source "kernel/Kconfig.marker" +source "lib/Kconfig.statistic" + endmenu source "arch/x86_64/Kconfig.debug" Am just replicating the choice to put it in arch/s390/Kconfig - not sure why it was in there rather than lib/Kconfig.debug - is there a reason here? Having bashed *that* into place, I hit this at kernel link time: WARNING: lib/built-in.o - Section mismatch: reference to .init.text:statistic_hotcpu from .data between 'statistic_hotcpu_notifier' (at offset 0x640) and 'io_tlb_lock'
Attachment:
pgpvWi98dNe7D.pgp
Description: PGP signature
- Follow-Ups:
- Re: 2.6.21-mm2 - CONFIG_STATISTIC and Intel PowerTOP...
- From: Martin Peschke <[email protected]>
- Re: 2.6.21-mm2 - CONFIG_STATISTIC and Intel PowerTOP...
- References:
- 2.6.21-mm2
- From: Andrew Morton <[email protected]>
- 2.6.21-mm2
- Prev by Date: Re: [PATCH] sdhci: Add quirk to support polling for card presence
- Next by Date: Re: [PATCH] Fix/add raw1394 CONFIG_COMPAT code
- Previous by thread: Re: 2.6.21-mm2 boot failure, raid autodetect, bd_set_size+0xb/0x80
- Next by thread: Re: 2.6.21-mm2 - CONFIG_STATISTIC and Intel PowerTOP...
- Index(es):