Skip to content

powerpc: ftrace updates to previous patch series

Steven Rostedt linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc: ftrace, do nothing in mcount call for dyn ftracearch/powerpc/kernel/entry_32.S arch/powerpc/kernel/entry_64.S+9 -430 replies
2/5powerpc: ftrace, fix cast aliasing and add code verificationarch/powerpc/kernel/ftrace.c+65 -560 replies
3/5powerpc: ftrace, added missing icache flusharch/powerpc/kernel/ftrace.c+9 -00 replies
4/5powerpc: ftrace, use create_brancharch/powerpc/kernel/ftrace.c+12 -421 reply
5/5powerpc/ppc32: static ftrace fixes for PPC32arch/powerpc/kernel/Makefile arch/powerpc/lib/Makefile+4 -01 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMichael Ellerman
1/5
2/5
3/5
4/5A-b
5/5

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 0/5] powerpc: ftrace updates to previous patch series

Paul,

This patch series addresses the issues you brought up as well as adds some more enhancements and fixes. This series is added on top of the previous patch series.

The new patches are: (and are posted now)
5987225... powerpc/ppc32: static ftrace fixes for PPC32 382d6db... powerpc: ftrace, use create_branch
d7d0ab8... powerpc: ftrace, added missing icache flush 10ec622... powerpc: ftrace, fix cast aliasing and add code verification d208ca5... powerpc: ftrace, do nothing in mcount call for dyn ftrace

The patches you already commented on:
5c4f5d7... powerpc/ppc32: ftrace, dynamic ftrace to handle modules a73af3e... powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace 009104f... powerpc: ftrace, use probe_kernel API to modify code a352036... powerpc: ftrace, convert to new dynamic ftrace arch API 6d07bb4... powerpc: ftrace, do not latency trace idle

Note, I also fixed the spelling of your name in the change log of commit a352036... powerpc: ftrace, convert to new dynamic ftrace arch API

I'm only posting the new patches. I've tested this on both my PPC64 and my PPC32 boxes. You can test this as well by checking out my tip/ppc branch which is based off of an older version of tip and has the ppc dynamic ftrace code enabled. That branch is not to pull from, but is there for you to try out this code if you like.

The previous patch series, which have not changed except for the spelling fix of Paul's last name, can be found here:

http://lkml.org/lkml/2008/11/20/356

The following patches are in:

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git

branch: ppc/ftrace

Steven Rostedt (5):
powerpc: ftrace, do nothing in mcount call for dyn ftrace
powerpc: ftrace, fix cast aliasing and add code verification
powerpc: ftrace, added missing icache flush
powerpc: ftrace, use create_branch
powerpc/ppc32: static ftrace fixes for PPC32

----

 arch/powerpc/kernel/Makefile   |    1 +
 arch/powerpc/kernel/entry_32.S |   40 ++-------
 arch/powerpc/kernel/entry_64.S |   12 ---
 arch/powerpc/kernel/ftrace.c   |  182 +++++++++++++++++++---------------------
 arch/powerpc/lib/Makefile      |    3 +
 5 files changed, 98 insertions(+), 140 deletions(-)