tracing: More updates for 4.12
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest33 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | ftrace: Fix removing of second function probekernel/ | +16 | 0 replies | |
| 2/33 | ftrace: Fix indexing of t_hash_start() from t_next()kernel/ | +3 | 0 replies | |
| 3/33 | tracing: Have the trace_event benchmark thread call cond_resched_rcu_qs()kernel/ | +11 | 0 replies | |
| 4/33 | ftrace: Add function-fork trace optionkernel/ kernel/ kernel/ | +46 | 0 replies | |
| 5/33 | selftests: ftrace: Add -l/--logdir optiontools/ | +5 | 0 replies | |
| 6/33 | selftests: ftrace: Add a way to reset triggers in the set_ftrace_filter filetools/ | +21 | 0 replies | |
| 7/33 | selftests: ftrace: Add a selftest to test event enable/disable func triggertools/ | +113 | 0 replies | |
| 8/33 | selftests: ftrace: Add a test to test function triggers to start and stop tracingtools/ | +171 | 0 replies | |
| 9/33 | selftests: ftrace: Add test to test reading of set_ftrace_filetools/ | +132 | 2 replies | |
| 10/33 | ftrace: Move the probe function into the tracing directoryinclude/ kernel/ | +25 | 0 replies | |
| 11/33 | ftrace: Move the function commands into the tracing directoryinclude/ kernel/ | +20 | 0 replies | |
| 12/33 | ftrace: Remove unused "flags" field from struct ftrace_func_probekernel/ | +0 | 0 replies | |
| 13/33 | ftrace: Pass probe ops to probe functionkernel/ kernel/ kernel/ +2 more | +27 | 0 replies | |
| 14/33 | ftrace: Added ftrace_func_mapper for function probe triggerskernel/ kernel/ kernel/ | +210 | 0 replies | |
| 15/33 | tracing: Have the snapshot trigger use the mapping helper functionskernel/ | +44 | 0 replies | |
| 16/33 | ftrace: Convert the rest of the function trigger over to the mapping functionskernel/ | +85 | 0 replies | |
| 17/33 | ftrace: Remove unused unregister_ftrace_function_probe() functionkernel/ kernel/ | +3 | 0 replies | |
| 18/33 | ftrace: Remove unused unregister_ftrace_function_probe_all() functionkernel/ kernel/ | +3 | 0 replies | |
| 19/33 | ftrace: Remove printing of data in showing of a function probekernel/ | +1 | 0 replies | |
| 20/33 | ftrace: Remove data field from ftrace_func_probe structurekernel/ kernel/ kernel/ +2 more | +11 | 0 replies | |
| 21/33 | ftrace: Add helper function ftrace_hash_move_and_update_ops()kernel/ | +53 | 0 replies | |
| 22/33 | ftrace: Have unregister_ftrace_function_probe_func() return a valuekernel/ kernel/ kernel/ +2 more | +17 | 0 replies | |
| 23/33 | ftrace: Have each function probe use its own ftrace_opskernel/ kernel/ | +99 | 0 replies | |
| 24/33 | ftrace: Have the function probes call their own functioninclude/ kernel/ kernel/ | +101 | 0 replies | |
| 25/33 | ftrace: If the hash for a probe fails to update then free what was initializedkernel/ | +15 | 0 replies | |
| 26/33 | tracing: Have the trace_array hold the list of registered func probeskernel/ kernel/ kernel/ +2 more | +56 | 0 replies | |
| 27/33 | tracing: Pass the trace_array into ftrace_probe_ops functionskernel/ kernel/ kernel/ +2 more | +51 | 0 replies | |
| 28/33 | ftrace: Dynamically create the probe ftrace_ops for the trace_arraykernel/ kernel/ kernel/ +2 more | +146 | 0 replies | |
| 29/33 | tracing/ftrace: Add a better way to pass data via the probe functionskernel/ kernel/ kernel/ +2 more | +153 | 0 replies | |
| 30/33 | tracing/ftrace: Allow instances to have their own function probeskernel/ | +2 | 0 replies | |
| 31/33 | tracing/ftrace: Enable snapshot function trigger to work with instanceskernel/ | +25 | 0 replies | |
| 32/33 | tracing/ftrace: Allow for the traceonoff probe be unique to instanceskernel/ kernel/ kernel/ | +15 | 0 replies | |
| 33/33 | tracing/ftrace: Allow for instances to trigger their own stacktrace probeskernel/ | +14 | 0 replies |
Reviews trailers per patch
2 of 33 patches have a Reviewed-by or Acked-by.
| Patch | Paul E. McKenney | Masami Hiramatsu |
|---|---|---|
| 1/33 | ||
| 2/33 | ||
| 3/33 | A-b | |
| 4/33 | ||
| 5/33 | A-b | |
| 6/33 | ||
| 7/33 | ||
| 8/33 | ||
| 9/33 | ||
| 10/33 | ||
| 11/33 | ||
| 12/33 | ||
| 13/33 | ||
| 14/33 | ||
| 15/33 | ||
| 16/33 | ||
| 17/33 | ||
| 18/33 | ||
| 19/33 | ||
| 20/33 | ||
| 21/33 | ||
| 22/33 | ||
| 23/33 | ||
| 24/33 | ||
| 25/33 | ||
| 26/33 | ||
| 27/33 | ||
| 28/33 | ||
| 29/33 | ||
| 30/33 | ||
| 31/33 | ||
| 32/33 | ||
| 33/33 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [for-next][PATCH 00/33] tracing: More updates for 4.12
The biggest change is the rewrite of the function probe trigger code. I need to make a few enhancements on that code and it was basically created with a hack on top of an hack, and I didn't want to add more hacks. Instead, I gutted it and rewrote it in a way that the patch series is still bisectable. Now the probe triggers can be unique to a tracing instance. You can add stacktrace to a function within a tracing instance, or just stop a tracing instance from tracing.
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next
Head SHA1: dcc19d28091a86d5baf78e3fbb32e3fc3de524be
Namhyung Kim (2):
ftrace: Add 'function-fork' trace option
selftests: ftrace: Add -l/--logdir option
Steven Rostedt (VMware) (31):
ftrace: Fix removing of second function probe
ftrace: Fix indexing of t_hash_start() from t_next()
tracing: Have the trace_event benchmark thread call cond_resched_rcu_qs()
selftests: ftrace: Add a way to reset triggers in the set_ftrace_filter file
selftests: ftrace: Add a selftest to test event enable/disable func trigger
selftests: ftrace: Add a test to test function triggers to start and stop tracing
selftests: ftrace: Add test to test reading of set_ftrace_file
ftrace: Move the probe function into the tracing directory
ftrace: Move the function commands into the tracing directory
ftrace: Remove unused "flags" field from struct ftrace_func_probe
ftrace: Pass probe ops to probe function
ftrace: Added ftrace_func_mapper for function probe triggers
tracing: Have the snapshot trigger use the mapping helper functions
ftrace: Convert the rest of the function trigger over to the mapping functions
ftrace: Remove unused unregister_ftrace_function_probe() function
ftrace: Remove unused unregister_ftrace_function_probe_all() function
ftrace: Remove printing of data in showing of a function probe
ftrace: Remove data field from ftrace_func_probe structure
ftrace: Add helper function ftrace_hash_move_and_update_ops()
ftrace: Have unregister_ftrace_function_probe_func() return a value
ftrace: Have each function probe use its own ftrace_ops
ftrace: Have the function probes call their own function
ftrace: If the hash for a probe fails to update then free what was initialized
tracing: Have the trace_array hold the list of registered func probes
tracing: Pass the trace_array into ftrace_probe_ops functions
ftrace: Dynamically create the probe ftrace_ops for the trace_array tracing/ftrace: Add a better way to pass data via the probe functions tracing/ftrace: Allow instances to have their own function probes tracing/ftrace: Enable snapshot function trigger to work with instances tracing/ftrace: Allow for the traceonoff probe be unique to instances tracing/ftrace: Allow for instances to trigger their own stacktrace probes
----
include/linux/ftrace.h | 47 +- kernel/trace/ftrace.c | 832 +++++++++++++-------- kernel/trace/trace.c | 133 +++- kernel/trace/trace.h | 75 +- kernel/trace/trace_benchmark.c | 14 +- kernel/trace/trace_events.c | 151 ++-- kernel/trace/trace_functions.c | 224 ++++-- tools/testing/selftests/ftrace/ftracetest | 5 + .../ftrace/test.d/ftrace/func_event_triggers.tc | 113 +++ .../ftrace/test.d/ftrace/func_set_ftrace_file.tc | 132 ++++ .../test.d/ftrace/func_traceonoff_triggers.tc | 171 +++++ tools/testing/selftests/ftrace/test.d/functions | 21 + 12 files changed, 1410 insertions(+), 508 deletions(-) create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func_event_triggers.tc create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc