]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ftrace: mmiotrace update, #2
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:20:58 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 09:25:16 +0000 (11:25 +0200)
commit138295373ccf7625fcb0218dfea114837983bc39
tree3d4afbb0d976fa41435fd5806ff0338aa1f15567
parentbd8ac686c73c7e925fcfe0b02dc4e7b947127864
ftrace: mmiotrace update, #2

another weekend, another patch. This should apply on top of my previous patch
from March 23rd.

Summary of changes:
- Print PCI device list in output header
- work around recursive probe hits on SMP
- refactor dis/arm_kmmio_fault_page() and add check for page levels
- remove un/reference_kmmio(), the die notifier hook is registered
permanently into the list
- explicitly check for single stepping in die notifier callback

I have tested this version on my UP Athlon64 desktop with Nouveau, and
SMP Core 2 Duo laptop with the proprietary nvidia driver. Both systems
are 64-bit. One previously unknown bug crept into daylight: the ftrace
framework's output routines print the first entry last after buffer has
wrapped around.

The most important regressions compared to non-ftrace mmiotrace at this
time are:
- failure of trace_pipe file
- illegal lines in output file
- unaware of losing data due to buffer full

Personally I'd like to see these three solved before submitting to
mainline. Other issues may come up once we know when we lose events.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/mmiotrace/kmmio.c
arch/x86/kernel/mmiotrace/mmio-mod.c
include/linux/mmiotrace.h
kernel/trace/trace_mmiotrace.c