public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: akpm@linux-foundation.org, Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org
Subject: [patch 00/37] Linux Kernel Markers instrumentation for sched-devel.git
Date: Thu, 24 Apr 2008 11:03:24 -0400	[thread overview]
Message-ID: <20080424150324.802695381@polymtl.ca> (raw)

Hi Ingo,

Here is a rather large patchset applying kernel instrumentation to
sched-devel.git. It includes, mainly :

- x86 NMI-safe traps.
- Optimized Markers, using Immediate Values, with nops/jump patching
  optimization.
- ftrace sched and wakeup tracer port to the markers.
- The archtecture independent instrumentation found in LTTng.

Please see the individual patches for more details. A diffstat is appended at
the bottom of this email.

They apply in the following order on to of current sched-devel.git :

stringify-support-commas.patch
#
x86_64-page-fault-nmi-safe.patch
change-alpha-active-count-bit.patch
change-avr32-active-count-bit.patch
x86-nmi-safe-int3-and-page-fault.patch
#
kprobes-use-mutex-for-insn-pages.patch
kprobes-dont-use-kprobes-mutex-in-arch-code.patch
kprobes-declare-kprobes-mutex-static.patch
fix-sched-devel-text-poke.patch
text-edit-lock-architecture-independent-code.patch
text-edit-lock-kprobes-architecture-independent-support.patch
#
# Immediate Values (basic)
add-all-cpus-option-to-stop-machine-run.patch
immediate-values-architecture-independent-code.patch
immediate-values-kconfig-menu-in-embedded.patch
immediate-values-x86-optimization.patch
add-text-poke-and-sync-core-to-powerpc.patch
immediate-values-powerpc-optimization.patch
immediate-values-documentation.patch
immediate-values-support-init.patch
# Immediate Values (NMI-safe)
immediate-values-move-kprobes-x86-restore-interrupt-to-kdebug-h.patch
add-discard-section-to-x86.patch
immediate-values-x86-optimization-nmi-mce-support.patch
immediate-values-powerpc-optimization-nmi-mce-support.patch
immediate-values-use-arch-nmi-mce-support.patch
# Immediate Values (jump patching)
immediate-values-jump.patch
#
scheduler-profiling-use-immediate-values.patch
#
make-marker_debug-static.patch # in -mm
markers-remove-extra-format-argument.patch
markers-define-non-optimized-marker.patch
linux-kernel-markers-immediate-values.patch
markers-use-imv-jump.patch
#
port-ftrace-to-markers.patch
#
# Instrumentation, architecture independent
lttng-instrumentation-fs.patch
lttng-instrumentation-ipc.patch
lttng-instrumentation-kernel.patch
lttng-instrumentation-mm.patch
lttng-instrumentation-net.patch


The overall diffstat :

 a/kernel/marker.c                                         |    2 
 arch/x86/kernel/traps_32.c                                |    3 
 include/asm-generic/vmlinux.lds.h                         |    8 
 include/asm-powerpc/immediate.h                           |    4 
 include/asm-x86/immediate.h                               |   54 -
 include/linux/immediate.h                                 |   15 
 include/linux/marker.h                                    |   13 
 include/linux/module.h                                    |    2 
 init/main.c                                               |    1 
 kernel/immediate.c                                        |   37 
 kernel/kprobes.c                                          |   44 
 kernel/module.c                                           |   10 
 kernel/sched.c                                            |   14 
 linux-2.6-lttng/Documentation/immediate.txt               |  221 ++++
 linux-2.6-lttng/arch/powerpc/kernel/Makefile              |    1 
 linux-2.6-lttng/arch/powerpc/kernel/immediate.c           |   70 +
 linux-2.6-lttng/include/asm-powerpc/cacheflush.h          |    4 
 linux-2.6-lttng/include/asm-powerpc/immediate.h           |   18 
 linux-2.6-lttng/include/asm-x86/kdebug.h                  |   12 
 linux-2.6-lttng/include/asm-x86/kprobes.h                 |    9 
 linux-2.6-lttng/include/linux/immediate.h                 |   11 
 linux-2.6-lttng/include/linux/marker.h                    |   29 
 linux-2.6-lttng/include/linux/stringify.h                 |    5 
 linux-2.6-lttng/include/linux/swapops.h                   |    8 
 linux-2.6-lttng/ipc/msg.c                                 |    6 
 linux-2.6-lttng/ipc/sem.c                                 |    6 
 linux-2.6-lttng/ipc/shm.c                                 |    6 
 linux-2.6-lttng/kernel/immediate.c                        |   73 -
 linux-2.6-lttng/kernel/kprobes.c                          |    2 
 linux-2.6-lttng/kernel/marker.c                           |   30 
 linux-2.6-lttng/mm/filemap.c                              |    7 
 linux-2.6-lttng/mm/hugetlb.c                              |    3 
 linux-2.6-lttng/mm/memory.c                               |   41 
 linux-2.6-lttng/mm/page_alloc.c                           |    9 
 linux-2.6-lttng/mm/page_io.c                              |    6 
 linux-2.6-lttng/mm/swapfile.c                             |   23 
 linux-2.6-lttng/net/core/dev.c                            |    6 
 linux-2.6-lttng/net/ipv4/devinet.c                        |    6 
 linux-2.6-lttng/net/socket.c                              |   19 
 linux-2.6-sched-devel/Documentation/immediate.txt         |    8 
 linux-2.6-sched-devel/Documentation/markers.txt           |   17 
 linux-2.6-sched-devel/arch/ia64/kernel/kprobes.c          |    2 
 linux-2.6-sched-devel/arch/powerpc/Kconfig                |    1 
 linux-2.6-sched-devel/arch/powerpc/kernel/kprobes.c       |    2 
 linux-2.6-sched-devel/arch/s390/kernel/kprobes.c          |    2 
 linux-2.6-sched-devel/arch/x86/Kconfig                    |    1 
 linux-2.6-sched-devel/arch/x86/kernel/Makefile            |    1 
 linux-2.6-sched-devel/arch/x86/kernel/alternative.c       |   38 
 linux-2.6-sched-devel/arch/x86/kernel/asm-offsets_32.c    |    1 
 linux-2.6-sched-devel/arch/x86/kernel/asm-offsets_64.c    |    1 
 linux-2.6-sched-devel/arch/x86/kernel/entry_32.S          |   30 
 linux-2.6-sched-devel/arch/x86/kernel/entry_64.S          |   34 
 linux-2.6-sched-devel/arch/x86/kernel/immediate.c         |  697 ++++++++++++--
 linux-2.6-sched-devel/arch/x86/kernel/kprobes.c           |    2 
 linux-2.6-sched-devel/arch/x86/kernel/paravirt.c          |    3 
 linux-2.6-sched-devel/arch/x86/kernel/paravirt_patch_32.c |    6 
 linux-2.6-sched-devel/arch/x86/kernel/paravirt_patch_64.c |    6 
 linux-2.6-sched-devel/arch/x86/kernel/traps_32.c          |    8 
 linux-2.6-sched-devel/arch/x86/kernel/traps_64.c          |    4 
 linux-2.6-sched-devel/arch/x86/kernel/vmi_32.c            |    2 
 linux-2.6-sched-devel/arch/x86/kernel/vmlinux_32.lds.S    |    1 
 linux-2.6-sched-devel/arch/x86/kernel/vmlinux_64.lds.S    |    1 
 linux-2.6-sched-devel/arch/x86/kvm/x86.c                  |    2 
 linux-2.6-sched-devel/arch/x86/lguest/boot.c              |    1 
 linux-2.6-sched-devel/arch/x86/mm/fault.c                 |    4 
 linux-2.6-sched-devel/arch/x86/xen/enlighten.c            |    1 
 linux-2.6-sched-devel/fs/buffer.c                         |    3 
 linux-2.6-sched-devel/fs/compat.c                         |    2 
 linux-2.6-sched-devel/fs/exec.c                           |    2 
 linux-2.6-sched-devel/fs/ioctl.c                          |    3 
 linux-2.6-sched-devel/fs/open.c                           |    3 
 linux-2.6-sched-devel/fs/read_write.c                     |   23 
 linux-2.6-sched-devel/fs/select.c                         |    5 
 linux-2.6-sched-devel/include/asm-alpha/thread_info.h     |    2 
 linux-2.6-sched-devel/include/asm-avr32/thread_info.h     |    2 
 linux-2.6-sched-devel/include/asm-generic/vmlinux.lds.h   |    3 
 linux-2.6-sched-devel/include/asm-powerpc/immediate.h     |   57 +
 linux-2.6-sched-devel/include/asm-x86/immediate.h         |  111 ++
 linux-2.6-sched-devel/include/asm-x86/irqflags.h          |   56 +
 linux-2.6-sched-devel/include/asm-x86/paravirt.h          |    7 
 linux-2.6-sched-devel/include/linux/hardirq.h             |   27 
 linux-2.6-sched-devel/include/linux/immediate.h           |   94 +
 linux-2.6-sched-devel/include/linux/kprobes.h             |    2 
 linux-2.6-sched-devel/include/linux/marker.h              |   16 
 linux-2.6-sched-devel/include/linux/memory.h              |    7 
 linux-2.6-sched-devel/include/linux/module.h              |   16 
 linux-2.6-sched-devel/include/linux/profile.h             |    5 
 linux-2.6-sched-devel/include/linux/sched.h               |   32 
 linux-2.6-sched-devel/include/linux/stop_machine.h        |    8 
 linux-2.6-sched-devel/init/Kconfig                        |   18 
 linux-2.6-sched-devel/init/main.c                         |    8 
 linux-2.6-sched-devel/kernel/Makefile                     |    1 
 linux-2.6-sched-devel/kernel/exit.c                       |    8 
 linux-2.6-sched-devel/kernel/fork.c                       |    5 
 linux-2.6-sched-devel/kernel/immediate.c                  |  149 ++
 linux-2.6-sched-devel/kernel/irq/handle.c                 |    7 
 linux-2.6-sched-devel/kernel/itimer.c                     |   13 
 linux-2.6-sched-devel/kernel/kthread.c                    |    5 
 linux-2.6-sched-devel/kernel/lockdep.c                    |   20 
 linux-2.6-sched-devel/kernel/marker.c                     |    8 
 linux-2.6-sched-devel/kernel/module.c                     |   50 -
 linux-2.6-sched-devel/kernel/printk.c                     |   27 
 linux-2.6-sched-devel/kernel/profile.c                    |   22 
 linux-2.6-sched-devel/kernel/sched.c                      |    5 
 linux-2.6-sched-devel/kernel/sched_fair.c                 |    5 
 linux-2.6-sched-devel/kernel/signal.c                     |    3 
 linux-2.6-sched-devel/kernel/softirq.c                    |   23 
 linux-2.6-sched-devel/kernel/stop_machine.c               |   32 
 linux-2.6-sched-devel/kernel/timer.c                      |   13 
 linux-2.6-sched-devel/kernel/trace/trace.h                |   20 
 linux-2.6-sched-devel/kernel/trace/trace_sched_switch.c   |  173 ++-
 linux-2.6-sched-devel/kernel/trace/trace_sched_wakeup.c   |  108 ++
 linux-2.6-sched-devel/mm/memory.c                         |   34 
 113 files changed, 2542 insertions(+), 415 deletions(-)


Mathieu

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

             reply	other threads:[~2008-04-24 15:21 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 15:03 Mathieu Desnoyers [this message]
2008-04-24 15:03 ` [patch 01/37] Stringify support commas Mathieu Desnoyers
2008-04-24 15:03 ` [patch 02/37] x86_64 page fault NMI-safe Mathieu Desnoyers
2008-04-24 15:03 ` [patch 03/37] Change Alpha active count bit Mathieu Desnoyers
2008-04-24 15:03 ` [patch 04/37] Change avr32 " Mathieu Desnoyers
2008-04-24 15:03 ` [patch 05/37] x86 NMI-safe INT3 and Page Fault Mathieu Desnoyers
2008-04-24 15:03 ` [patch 06/37] Kprobes - use a mutex to protect the instruction pages list Mathieu Desnoyers
2008-04-24 15:03 ` [patch 07/37] Kprobes - do not use kprobes mutex in arch code Mathieu Desnoyers
2008-04-24 15:03 ` [patch 08/37] Kprobes - declare kprobe_mutex static Mathieu Desnoyers
2008-04-24 15:03 ` [patch 09/37] Fix sched-devel text_poke Mathieu Desnoyers
2008-04-24 15:03 ` [patch 10/37] Text Edit Lock - Architecture Independent Code Mathieu Desnoyers
2008-04-24 15:03 ` [patch 11/37] Text Edit Lock - kprobes architecture independent support Mathieu Desnoyers
2008-04-24 15:03 ` [patch 12/37] Add all cpus option to stop machine run Mathieu Desnoyers
2008-04-24 15:03 ` [patch 13/37] Immediate Values - Architecture Independent Code Mathieu Desnoyers
2008-04-25 14:55   ` Ingo Molnar
2008-04-26  9:36     ` Ingo Molnar
2008-04-26 11:09       ` Ingo Molnar
2008-04-26 14:17         ` Mathieu Desnoyers
2008-04-24 15:03 ` [patch 14/37] Immediate Values - Kconfig menu in EMBEDDED Mathieu Desnoyers
2008-04-24 15:03 ` [patch 15/37] Immediate Values - x86 Optimization Mathieu Desnoyers
2008-04-24 15:03 ` [patch 16/37] Add text_poke and sync_core to powerpc Mathieu Desnoyers
2008-04-24 15:03 ` [patch 17/37] Immediate Values - Powerpc Optimization Mathieu Desnoyers
2008-04-24 15:03 ` [patch 18/37] Immediate Values - Documentation Mathieu Desnoyers
2008-04-24 15:03 ` [patch 19/37] Immediate Values Support init Mathieu Desnoyers
2008-04-24 15:03 ` [patch 20/37] Immediate Values - Move Kprobes x86 restore_interrupt to kdebug.h Mathieu Desnoyers
2008-04-24 15:03 ` [patch 21/37] Add __discard section to x86 Mathieu Desnoyers
2008-04-24 15:03 ` [patch 22/37] Immediate Values - x86 Optimization NMI and MCE support Mathieu Desnoyers
2008-04-24 15:03 ` [patch 23/37] Immediate Values - Powerpc Optimization NMI " Mathieu Desnoyers
2008-04-24 15:03 ` [patch 24/37] Immediate Values Use Arch NMI and MCE Support Mathieu Desnoyers
2008-04-24 15:03 ` [patch 25/37] Immediate Values - Jump Mathieu Desnoyers
2008-04-24 15:03 ` [patch 26/37] Scheduler Profiling - Use Immediate Values Mathieu Desnoyers
2008-04-24 15:03 ` [patch 27/37] From: Adrian Bunk <bunk@kernel.org> Mathieu Desnoyers
2008-04-28  9:54   ` Adrian Bunk
2008-04-28 12:37     ` Mathieu Desnoyers
2008-04-24 15:03 ` [patch 28/37] Markers - remove extra format argument Mathieu Desnoyers
2008-04-24 15:03 ` [patch 29/37] Markers - define non optimized marker Mathieu Desnoyers
2008-04-24 15:03 ` [patch 30/37] Linux Kernel Markers - Use Immediate Values Mathieu Desnoyers
2008-04-24 15:03 ` [patch 31/37] Markers use imv jump Mathieu Desnoyers
2008-04-24 15:03 ` [patch 32/37] Port ftrace to markers Mathieu Desnoyers
2008-04-24 15:03 ` [patch 33/37] LTTng instrumentation fs Mathieu Desnoyers
2008-04-24 15:03 ` [patch 34/37] LTTng instrumentation ipc Mathieu Desnoyers
2008-04-24 23:02   ` Alexey Dobriyan
2008-04-25  2:15     ` Frank Ch. Eigler
2008-04-25 12:56       ` Mathieu Desnoyers
2008-04-25 13:17         ` [RFC] system-wide in-kernel syscall tracing Mathieu Desnoyers
2008-05-04 21:04         ` [patch 34/37] LTTng instrumentation ipc Alexey Dobriyan
2008-05-04 20:39           ` Frank Ch. Eigler
2008-04-24 15:03 ` [patch 35/37] LTTng instrumentation kernel Mathieu Desnoyers
2008-04-24 15:04 ` [patch 36/37] LTTng instrumentation mm Mathieu Desnoyers
2008-04-28  2:12   ` Masami Hiramatsu
2008-04-24 15:04 ` [patch 37/37] LTTng instrumentation net Mathieu Desnoyers
2008-04-24 15:52   ` Pavel Emelyanov
2008-04-24 16:13     ` Mathieu Desnoyers
2008-04-24 16:30       ` Pavel Emelyanov
2008-04-26 19:38 ` [patch 00/37] Linux Kernel Markers instrumentation for sched-devel.git Peter Zijlstra
2008-04-26 20:11   ` Mathieu Desnoyers
2008-04-27 10:00     ` Peter Zijlstra
2008-05-04 15:08       ` Mathieu Desnoyers
2008-04-28 18:22   ` Ingo Molnar
2008-04-28 18:36   ` Andrew Morton
2008-04-28 18:40     ` Christoph Hellwig
2008-04-28 18:47       ` Andrew Morton
2008-04-28 18:49         ` Christoph Hellwig
2008-04-28 19:01         ` KOSAKI Motohiro
2008-04-28 19:52     ` Peter Zijlstra
2008-04-28 22:25       ` Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080424150324.802695381@polymtl.ca \
    --to=mathieu.desnoyers@polymtl.ca \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox