Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell <rlrevell@xxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 15:11:12 -0500
On Thu, 2005-12-29 at 11:17 +0100, Ingo Molnar wrote:
> * Dave Jones <davej@xxxxxxxxxx> wrote:
>
> > > could test it by e.g. trying to reproduce the same VM latency as in the
> > > -rt tree. [the two zlib patches are needed if you are using 4K stacks,
> > > mcount increases stack footprint.]
> >
> > kernel/latency.c: In function 'add_preempt_count_ti':
> > kernel/latency.c:1703: warning: implicit declaration of function 'preempt_count_ti'
> > kernel/latency.c:1703: error: invalid lvalue in assignment
> > kernel/latency.c: In function 'sub_preempt_count_ti':
> > kernel/latency.c:1764: error: invalid lvalue in assignment
>
> indeed - i have fixed this and have uploaded a new version to:
>
> http://redhat.com/~mingo/latency-tracing-patches/
Still does not quite work for me on i386. I applied all the patches as
I'm using 4K stacks.
LD .tmp_vmlinux1
init/built-in.o: In function `start_kernel':
: undefined reference to `preempt_max_latency'
make: *** [.tmp_vmlinux1] Error 1
.config excerpts:
# CONFIG_SMP is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_DETECT_SOFTLOCKUP is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
CONFIG_WAKEUP_TIMING=y
# CONFIG_WAKEUP_LATENCY_HIST is not set
CONFIG_PREEMPT_TRACE=y
CONFIG_CRITICAL_PREEMPT_TIMING=y
# CONFIG_PREEMPT_OFF_HIST is not set
# CONFIG_CRITICAL_IRQSOFF_TIMING is not set
CONFIG_CRITICAL_TIMING=y
CONFIG_LATENCY_TIMING=y
CONFIG_LATENCY_TRACE=y
CONFIG_MCOUNT=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_VM is not set
CONFIG_FRAME_POINTER=y
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_4KSTACKS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell
- Re: [patch] latency tracer, 2.6.15-rc7
- References:
- 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- From: Lee Revell
- Re: 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- From: Hugh Dickins
- Re: 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- From: Lee Revell
- [patch] latency tracer, 2.6.15-rc7
- From: Ingo Molnar
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Dave Jones
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Ingo Molnar
- 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- Prev by Date: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Next by Date: Re: [patch 0/5] Add MMC password protection (lock/unlock) support
- Previous by thread: Re: [patch] latency tracer, 2.6.15-rc7
- Next by thread: Re: [patch] latency tracer, 2.6.15-rc7
- Index(es):