Skip to content

Trace Clock v3

Mathieu Desnoyers linux-arch linux-sh lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17get_cycles() : kconfig HAVE_GET_CYCLESinit/Kconfig+10 -00 replies
2/17get_cycles() : x86 HAVE_GET_CYCLESarch/x86/Kconfig arch/x86/include/asm/tsc.h+13 -02 replies
3/17get_cycles() : sparc64 HAVE_GET_CYCLESarch/sparc/include/asm/timex_64.h arch/sparc64/Kconfig arch/sparc64/kernel/time.c+21 -20 replies
4/17get_cycles() : powerpc64 HAVE_GET_CYCLESarch/powerpc/Kconfig arch/powerpc/include/asm/timex.h+12 -00 replies
5/17get_cycles() : MIPS HAVE_GET_CYCLES_32arch/mips/Kconfig arch/mips/include/asm/timex.h+29 -00 replies
6/17Trace clock coreinit/Kconfig kernel/Makefile kernel/trace/Makefile +1 more+295 -20 replies
7/17Trace clock genericinclude/asm-generic/trace-clock.h include/linux/trace-clock.h init/Kconfig +2 more+185 -00 replies
8/17Powerpc : Trace clockarch/powerpc/Kconfig arch/powerpc/include/asm/trace-clock.h+48 -00 replies
9/17Sparc64 : Trace clockarch/sparc/include/asm/trace-clock.h arch/sparc64/Kconfig+44 -00 replies
10/17LTTng timestamp sharch/sh/Kconfig arch/sh/include/asm/timex.h arch/sh/include/asm/trace-clock.h+65 -20 replies
11/17LTTng - TSC synchronicity testDocumentation/kernel-parameters.txt init/Kconfig kernel/time/Makefile +1 more+325 -00 replies
12/17x86 : remove arch-specific tsc_sync.carch/x86/Kconfig arch/x86/include/asm/tsc.h arch/x86/kernel/Makefile +1 more+11 -1920 replies
13/17MIPS use tsc_sync.carch/mips/include/asm/timex.h arch/mips/kernel/smp.c+27 -00 replies
14/17MIPS : export hpt frequency for trace_clock.arch/mips/include/asm/timex.h arch/mips/kernel/time.c+3 -00 replies
15/17MIPS create empty sync_core()arch/mips/include/asm/barrier.h+6 -00 replies
16/17MIPS : Trace clockarch/mips/Kconfig arch/mips/include/asm/timex.h arch/mips/include/asm/trace-clock.h +2 more+258 -10 replies
17/17x86 trace clockarch/x86/Kconfig arch/x86/kernel/Makefile arch/x86/kernel/trace-clock.c +1 more+320 -00 replies

Reviews trailers per patch

2 of 17 patches have a Reviewed-by or Acked-by.

PatchDavid S. Miller
1/17
2/17
3/17A-b
4/17
5/17
6/17
7/17
8/17
9/17A-b
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/17] Trace Clock v3

Hi,

In this new version, I have integrated the changes I did following the comments I received for v2. I also reimplemented the "generic" trace clock so it is less intrusive and simply use a standard timer. I is not as bound to the xtime_lock as it previously was and it does not have to modify kernel/time.c anymore.

I think this is pretty close to a mergeable state. I plan to keep more exotic features, such as dealing with non-synchronized TSCs without cache-line bouncing, for future improvement. As a reminder, when the trace clock detects an unsynchronized TSC on the machine, it prints the information about which kernel command line arguments must be used so the user can have synchronized timestamp counters. However, if the user wants to use his system with non-synchronized TSCs, the cache-line bouncing fallback is used.

This patchset applies on top of 2.6.28-rc4.

Mathieu

Signature · 2 lines
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68