[PATCH v9 00/10] ftrace for MIPS

From: Wu Zhangjin
Date: Fri Nov 20 2009 - 07:29:03 EST


From: Wu Zhangjin <wuzhangjin@xxxxxxxxx>

After getting the feedback of v8 revision from Thomas, I have written a
cnt3_to_63() based sched_clock() for MIPS and send it out as a standalone
patch("MIPS: Add a high precision sched_clock() via cnt32_to_63()").

This v9 revision only reserve the Ftrace parts. So, Steven or Ralf, Is it time
to apply it? Thanks!

Best Regards,
Wu Zhangjin

Wu Zhangjin (10):
tracing: add static function tracer support for MIPS
tracing: enable HAVE_FUNCTION_TRACE_MCOUNT_TEST for MIPS
tracing: add an endian argument to scripts/recordmcount.pl
tracing: add dynamic function tracer support for MIPS
tracing: add IRQENTRY_EXIT section for MIPS
tracing: add function graph tracer support for MIPS
tracing: add dynamic function graph tracer for MIPS
tracing: make ftrace for MIPS work without -fno-omit-frame-pointer
tracing: reserve $12(t0) for mcount-ra-address of gcc 4.5
tracing: make function graph tracer work with -mmcount-ra-address

arch/mips/Kconfig | 5 +
arch/mips/Makefile | 9 ++
arch/mips/include/asm/ftrace.h | 91 +++++++++++++-
arch/mips/include/asm/irq.h | 29 +----
arch/mips/kernel/Makefile | 7 +
arch/mips/kernel/ftrace.c | 275 ++++++++++++++++++++++++++++++++++++++++
arch/mips/kernel/irq.c | 30 +++++
arch/mips/kernel/mcount.S | 189 +++++++++++++++++++++++++++
arch/mips/kernel/mips_ksyms.c | 5 +
arch/mips/kernel/smp.c | 3 +-
arch/mips/kernel/smtc.c | 21 ++-
arch/mips/kernel/vmlinux.lds.S | 1 +
arch/mips/sgi-ip22/ip22-int.c | 3 +-
arch/mips/sgi-ip22/ip22-time.c | 3 +-
scripts/Makefile.build | 1 +
scripts/recordmcount.pl | 60 ++++++++-
16 files changed, 691 insertions(+), 41 deletions(-)
create mode 100644 arch/mips/kernel/ftrace.c
create mode 100644 arch/mips/kernel/mcount.S

--
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/