Skip to content

ftrace/tracing: Fixes and final removal of ftrace_start/stop()

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest32 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/32ftrace: Allow archs to specify if they need a separate function graph trampolineinclude/linux/ftrace.h kernel/trace/ftrace.c+14 -20 replies
2/32ftrace/x86: Have function graph tracer use its own trampolinearch/x86/include/asm/ftrace.h+2 -00 replies
3/32x86, power, suspend: Annotate restore_processor_state() with notracearch/x86/power/cpu.c+2 -20 replies
4/32PM / Sleep: Remove ftrace_stop/start() from suspend and hibernatekernel/power/hibernate.c kernel/power/suspend.c+0 -80 replies
5/32ftrace-graph: Remove dependency of ftrace_stop() from ftrace_graph_stop()include/linux/ftrace.h kernel/trace/ftrace.c kernel/trace/trace_functions_graph.c+36 -50 replies
6/32ftrace/x86: Add call to ftrace_graph_is_dead() in function graph codearch/x86/kernel/ftrace.c+3 -00 replies
7/32microblaze: ftrace: Add call to ftrace_graph_is_dead() in function graph codearch/microblaze/kernel/ftrace.c+3 -00 replies
8/32MIPS: ftrace: Add call to ftrace_graph_is_dead() in function graph codearch/mips/kernel/ftrace.c+3 -00 replies
9/32parisc: ftrace: Add call to ftrace_graph_is_dead() in function graph codearch/parisc/kernel/ftrace.c+3 -00 replies
10/32powerpc/ftrace: Add call to ftrace_graph_is_dead() in function graph codearch/powerpc/kernel/ftrace.c+3 -00 replies
11/32sh: ftrace: Add call to ftrace_graph_is_dead() in function graph codearch/sh/kernel/ftrace.c+3 -00 replies
12/32ftrace-graph: Remove usage of ftrace_stop() in ftrace_graph_stop()kernel/trace/trace_functions_graph.c+0 -50 replies
13/32ftrace: Remove ftrace_start/stop()include/linux/ftrace.h+0 -280 replies
14/32ftrace: Do no disable function tracing on enabling function tracingkernel/trace/ftrace.c+0 -70 replies
15/32ftrace: Remove function_trace_stop check from list funckernel/trace/ftrace.c+2 -60 replies
16/32ftrace: Remove check for HAVE_FUNCTION_TRACE_MCOUNT_TESTDocumentation/trace/ftrace-design.txt include/linux/ftrace.h+1 -280 replies
17/32ftrace: x86: Remove check of obsolete variable function_trace_stoparch/x86/Kconfig arch/x86/kernel/entry_32.S arch/x86/kernel/mcount_64.S+1 -270 replies
18/32tile: ftrace: Remove check of obsolete variable function_trace_stoparch/tile/Kconfig arch/tile/kernel/mcount_64.S+0 -190 replies
19/32sparc64,ftrace: Remove check of obsolete variable function_trace_stoparch/sparc/Kconfig arch/sparc/lib/mcount.S+2 -90 replies
20/32sh: ftrace: Remove check of obsolete variable function_trace_stoparch/sh/Kconfig arch/sh/lib/mcount.S+2 -232 replies
21/32parisc: ftrace: Remove check of obsolete variable function_trace_stoparch/parisc/Kconfig arch/parisc/kernel/ftrace.c+0 -40 replies
22/32MIPS: ftrace: Remove check of obsolete variable function_trace_stoparch/mips/Kconfig arch/mips/kernel/mcount.S+0 -80 replies
23/32microblaze: ftrace: Remove check of obsolete variable function_trace_stoparch/microblaze/Kconfig arch/microblaze/kernel/mcount.S+0 -60 replies
24/32metag: ftrace: Remove check of obsolete variable function_trace_stoparch/metag/Kconfig arch/metag/kernel/ftrace_stub.S+0 -150 replies
25/32Blackfin: ftrace: Remove check of obsolete variable function_trace_stoparch/blackfin/Kconfig arch/blackfin/kernel/ftrace-entry.S+0 -190 replies
26/32arm64, ftrace: Remove check of obsolete variable function_trace_stoparch/arm64/kernel/entry-ftrace.S+0 -50 replies
27/32s390/ftrace: remove check of obsolete variable function_trace_stoparch/s390/Kconfig arch/s390/kernel/mcount.S arch/s390/kernel/mcount64.S+3 -110 replies
28/32tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TESTinclude/linux/ftrace.h kernel/trace/Kconfig kernel/trace/ftrace.c+0 -100 replies
29/32ring-buffer: Always run per-cpu ring buffer resize with schedule_work_on()kernel/trace/ring_buffer.c+4 -200 replies
30/32tracing: let user specify tracing_thresh after selecting function_graphkernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_functions_graph.c+67 -70 replies
31/32ftrace: Do not copy old hash when resettingkernel/trace/ftrace.c+5 -100 replies
32/32tracing: Convert local function_graph functions to statickernel/trace/trace_functions_graph.c+4 -40 replies

Reviews trailers per patch

19 of 32 patches have a Reviewed-by or Acked-by.

PatchRafael J. WysockiMasami HiramatsuZhigang LuHelge DellerMichal SimekBenjamin HerrenschmidtH. Peter AnvinDavid S. MillerJames HoganMike FrysingerWill DeaconTuomas Tynkkynen
1/32T-b
2/32A-b
3/32A-b R-b
4/32A-b R-b
5/32R-b
6/32R-b A-b
7/32T-b
8/32T-b
9/32A-b
10/32A-b
11/32
12/32R-b
13/32R-b
14/32R-b
15/32R-b
16/32R-b A-b
17/32R-b A-b
18/32A-b
19/32OKed-to-go-through-tracing-tree-by
20/32
21/32A-b
22/32T-b
23/32T-b
24/32A-b
25/32A-b
26/32A-b
27/32
28/32R-b
29/32
30/32
31/32
32/32

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 12 reviewers.

Read the v1 thread

Cover letter [for-next][PATCH 00/32] ftrace/tracing: Fixes and final removal of ftrace_start/stop()

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

Head SHA1: ba1afef6a47c4133831fefcad4e0d7bf1d0ee99e

Corey Minyard (1):
ring-buffer: Always run per-cpu ring buffer resize with schedule_work_on()

Heiko Carstens (1):
s390/ftrace: remove check of obsolete variable function_trace_stop

Stanislav Fomichev (1):
tracing: let user specify tracing_thresh after selecting function_graph

Steven Rostedt (Red Hat) (28):
ftrace: Allow archs to specify if they need a separate function graph trampoline ftrace/x86: Have function graph tracer use its own trampoline
x86, power, suspend: Annotate restore_processor_state() with notrace PM / Sleep: Remove ftrace_stop/start() from suspend and hibernate
ftrace-graph: Remove dependency of ftrace_stop() from ftrace_graph_stop() ftrace/x86: Add call to ftrace_graph_is_dead() in function graph code
microblaze: ftrace: Add call to ftrace_graph_is_dead() in function graph code
MIPS: ftrace: Add call to ftrace_graph_is_dead() in function graph code
parisc: ftrace: Add call to ftrace_graph_is_dead() in function graph code powerpc/ftrace: Add call to ftrace_graph_is_dead() in function graph code
sh: ftrace: Add call to ftrace_graph_is_dead() in function graph code
ftrace-graph: Remove usage of ftrace_stop() in ftrace_graph_stop()
ftrace: Remove ftrace_start/stop()
ftrace: Do no disable function tracing on enabling function tracing
ftrace: Remove function_trace_stop check from list func
ftrace: Remove check for HAVE_FUNCTION_TRACE_MCOUNT_TEST
ftrace: x86: Remove check of obsolete variable function_trace_stop
tile: ftrace: Remove check of obsolete variable function_trace_stop sparc64,ftrace: Remove check of obsolete variable function_trace_stop
sh: ftrace: Remove check of obsolete variable function_trace_stop
parisc: ftrace: Remove check of obsolete variable function_trace_stop
MIPS: ftrace: Remove check of obsolete variable function_trace_stop
microblaze: ftrace: Remove check of obsolete variable function_trace_stop
metag: ftrace: Remove check of obsolete variable function_trace_stop
Blackfin: ftrace: Remove check of obsolete variable function_trace_stop arm64, ftrace: Remove check of obsolete variable function_trace_stop
tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST
tracing: Convert local function_graph functions to static

Wang Nan (1):
ftrace: Do not copy old hash when resetting

----

 Documentation/trace/ftrace-design.txt | 26 --------------
 arch/arm64/kernel/entry-ftrace.S      |  5 ---
 arch/blackfin/Kconfig                 |  1 -
 arch/blackfin/kernel/ftrace-entry.S   | 18 ----------
 arch/metag/Kconfig                    |  1 -
 arch/metag/kernel/ftrace_stub.S       | 14 --------
 arch/microblaze/Kconfig               |  1 -
 arch/microblaze/kernel/ftrace.c       |  3 ++
 arch/microblaze/kernel/mcount.S       |  5 ---
 arch/mips/Kconfig                     |  1 -
 arch/mips/kernel/ftrace.c             |  3 ++
 arch/mips/kernel/mcount.S             |  7 ----
 arch/parisc/Kconfig                   |  1 -
 arch/parisc/kernel/ftrace.c           |  6 ++--
 arch/powerpc/kernel/ftrace.c          |  3 ++
 arch/s390/Kconfig                     |  1 -
 arch/s390/kernel/mcount.S             | 10 ++----
 arch/s390/kernel/mcount64.S           |  3 --
 arch/sh/Kconfig                       |  1 -
 arch/sh/kernel/ftrace.c               |  3 ++
 arch/sh/lib/mcount.S                  | 24 ++-----------
 arch/sparc/Kconfig                    |  1 -
 arch/sparc/lib/mcount.S               | 10 ++----
 arch/tile/Kconfig                     |  1 -
 arch/tile/kernel/mcount_64.S          | 18 ----------
 arch/x86/Kconfig                      |  1 -
 arch/x86/include/asm/ftrace.h         |  2 ++
 arch/x86/kernel/entry_32.S            |  9 -----
 arch/x86/kernel/ftrace.c              |  3 ++
 arch/x86/kernel/mcount_64.S           | 18 +---------
 arch/x86/power/cpu.c                  |  4 +--
 include/linux/ftrace.h                | 44 +++++++-----------------
 kernel/power/hibernate.c              |  6 ----
 kernel/power/suspend.c                |  2 --
 kernel/trace/Kconfig                  |  5 ---
 kernel/trace/ftrace.c                 | 44 ++++++------------------
 kernel/trace/ring_buffer.c            | 24 +++----------
 kernel/trace/trace.c                  | 65 +++++++++++++++++++++++++++++++----
 kernel/trace/trace.h                  |  2 ++
 kernel/trace/trace_functions_graph.c  | 43 +++++++++++++++++++++--
 40 files changed, 157 insertions(+), 282 deletions(-)