Skip to content

tracing: Last minute updates for 4.10

Steven Rostedt lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tracing: Have the reg function allow to failarch/powerpc/include/asm/trace.h arch/powerpc/platforms/powernv/opal-tracepoints.c arch/powerpc/platforms/pseries/lpar.c +12 more+34 -200 replies
2/8tracing: Do not start benchmark on boot upkernel/trace/trace_benchmark.c+11 -10 replies
3/8tracing: Have system enable return error if one of the events failkernel/trace/trace_events.c+11 -20 replies
4/8tracing: Allow benchmark to be enabled at early_initcall()kernel/trace/trace_benchmark.c+12 -10 replies
5/8ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to itarch/x86/entry/entry_32.S+2 -20 replies
6/8tracing: Replace kmap with copy_from_user() in trace_marker writingkernel/trace/trace.c+37 -1020 replies
7/8fgraph: Handle a case where a tracer ignores set_graph_notracekernel/trace/trace_functions_graph.c+14 -34 replies
8/8tracing/fgraph: Have wakeup and irqsoff tracers ignore graph functions tookernel/trace/trace.h kernel/trace/trace_functions_graph.c kernel/trace/trace_irqsoff.c +1 more+42 -71 reply

Reviews trailers per patch

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

PatchColin Ian KingNamhyung Kim
1/8
2/8
3/8
4/8
5/8T-b
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [for-next][PATCH 0/8] tracing: Last minute updates for 4.10

There are two patches that are marked for stable. But since Linus will hopefully open the merge window very soon, I figured I let those changes sit in linux-next for a week before pushing to Linus. They are not that critical as they are old bugs, and require root privilege to abuse.

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

Head SHA1: 1a41442864e35bff859582fe9c5d051d0b1040ba

Steven Rostedt (Red Hat) (8):
tracing: Have the reg function allow to fail
tracing: Do not start benchmark on boot up
tracing: Have system enable return error if one of the events fail
tracing: Allow benchmark to be enabled at early_initcall() ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
tracing: Replace kmap with copy_from_user() in trace_marker writing
fgraph: Handle a case where a tracer ignores set_graph_notrace tracing/fgraph: Have wakeup and irqsoff tracers ignore graph functions too

----

 arch/powerpc/include/asm/trace.h                  |   4 +-
 arch/powerpc/platforms/powernv/opal-tracepoints.c |   6 +-
 arch/powerpc/platforms/pseries/lpar.c             |   6 +-
 arch/x86/entry/entry_32.S                         |   4 +-
 arch/x86/include/asm/trace/exceptions.h           |   2 +-
 arch/x86/include/asm/trace/irq_vectors.h          |   2 +-
 arch/x86/kernel/tracepoint.c                      |   3 +-
 drivers/i2c/i2c-core.c                            |   3 +-
 include/linux/tracepoint-defs.h                   |   2 +-
 include/linux/tracepoint.h                        |   2 +-
 include/trace/events/i2c.h                        |   2 +-
 kernel/trace/trace.c                              | 139 ++++++----------------
 kernel/trace/trace.h                              |  11 ++
 kernel/trace/trace_benchmark.c                    |  26 +++-
 kernel/trace/trace_benchmark.h                    |   2 +-
 kernel/trace/trace_events.c                       |  13 +-
 kernel/trace/trace_functions_graph.c              |  31 +++--
 kernel/trace/trace_irqsoff.c                      |  12 ++
 kernel/trace/trace_sched_wakeup.c                 |  12 ++
 kernel/tracepoint.c                               |  12 +-
 samples/trace_events/trace-events-sample.c        |   3 +-
 samples/trace_events/trace-events-sample.h        |   2 +-
 22 files changed, 162 insertions(+), 137 deletions(-)