Merge tag 'trace-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing updates from Steven Rostedt: "New features for this release: - Pretty much a full rewrite of the processing of function plugins. i.e. echo do_IRQ:stacktrace > set_ftrace_filter - The rewrite was needed to add plugins to be unique to tracing instances. i.e. mkdir instance/foo; cd instances/foo; echo do_IRQ:stacktrace > set_ftrace_filter The old way was written very hacky. This removes a lot of those hacks. - New "function-fork" tracing option. When set, pids in the set_ftrace_pid will have their children added when the processes with their pids listed in the set_ftrace_pid file forks. - Exposure of "maxactive" for kretprobe in kprobe_events - Allow for builtin init functions to be traced by the function tracer (via the kernel command line). Module init function tracing will come in the next release. - Added more selftests, and have selftests also test in an instance" * tag 'trace-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (60 commits) ring-buffer: Return reader page back into existing ring buffer selftests: ftrace: Allow some event trigger tests to run in an instance selftests: ftrace: Have some basic tests run in a tracing instance too selftests: ftrace: Have event tests also run in an tracing instance selftests: ftrace: Make func_event_triggers and func_traceonoff_triggers tests do instances selftests: ftrace: Allow some tests to be run in a tracing instance tracing/ftrace: Allow for instances to trigger their own stacktrace probes tracing/ftrace: Allow for the traceonoff probe be unique to instances tracing/ftrace: Enable snapshot function trigger to work with instances tracing/ftrace: Allow instances to have their own function probes tracing/ftrace: Add a better way to pass data via the probe functions ftrace: Dynamically create the probe ftrace_ops for the trace_array tracing: Pass the trace_array into ftrace_probe_ops functions tracing: Have the trace_array hold the list of registered func probes ftrace: If the hash for a probe fails to update then free what was initialized ftrace: Have the function probes call their own function ftrace: Have each function probe use its own ftrace_ops ftrace: Have unregister_ftrace_function_probe_func() return a value ftrace: Add helper function ftrace_hash_move_and_update_ops() ftrace: Remove data field from ftrace_func_probe structure ...
No related branches found
No related tags found
Showing
- Documentation/trace/kprobetrace.txt 4 additions, 1 deletionDocumentation/trace/kprobetrace.txt
- arch/x86/kernel/ftrace.c 7 additions, 1 deletionarch/x86/kernel/ftrace.c
- include/linux/ftrace.h 47 additions, 45 deletionsinclude/linux/ftrace.h
- include/linux/init.h 3 additions, 1 deletioninclude/linux/init.h
- include/linux/rcupdate.h 5 additions, 0 deletionsinclude/linux/rcupdate.h
- include/linux/ring_buffer.h 1 addition, 1 deletioninclude/linux/ring_buffer.h
- include/linux/trace_events.h 1 addition, 10 deletionsinclude/linux/trace_events.h
- include/linux/tracepoint.h 11 additions, 8 deletionsinclude/linux/tracepoint.h
- init/main.c 7 additions, 3 deletionsinit/main.c
- kernel/rcu/tree.c 37 additions, 25 deletionskernel/rcu/tree.c
- kernel/trace/Kconfig 2 additions, 1 deletionkernel/trace/Kconfig
- kernel/trace/ftrace.c 632 additions, 364 deletionskernel/trace/ftrace.c
- kernel/trace/ring_buffer.c 37 additions, 3 deletionskernel/trace/ring_buffer.c
- kernel/trace/ring_buffer_benchmark.c 1 addition, 1 deletionkernel/trace/ring_buffer_benchmark.c
- kernel/trace/trace.c 198 additions, 44 deletionskernel/trace/trace.c
- kernel/trace/trace.h 76 additions, 1 deletionkernel/trace/trace.h
- kernel/trace/trace_benchmark.c 11 additions, 3 deletionskernel/trace/trace_benchmark.c
- kernel/trace/trace_events.c 104 additions, 47 deletionskernel/trace/trace_events.c
- kernel/trace/trace_functions.c 155 additions, 72 deletionskernel/trace/trace_functions.c
- kernel/trace/trace_kprobe.c 33 additions, 6 deletionskernel/trace/trace_kprobe.c
Loading
Please register or sign in to comment