x86, bts, ftrace: a BTS ftrace plug-in prototype
Impact: add new ftrace plugin A prototype for a BTS ftrace plug-in. The tracer collects branch trace in a cyclic buffer for each cpu. The tracer is not configurable and the trace for each snapshot is appended when doing cat /debug/tracing/trace. This is a proof of concept that will be extended with future patches to become a (hopefully) useful tool. Signed-off-by:Markus Metzger <markus.t.metzger@intel.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/Kconfig.cpu 1 addition, 0 deletionsarch/x86/Kconfig.cpu
- kernel/trace/Kconfig 11 additions, 0 deletionskernel/trace/Kconfig
- kernel/trace/Makefile 1 addition, 0 deletionskernel/trace/Makefile
- kernel/trace/trace.h 12 additions, 0 deletionskernel/trace/trace.h
- kernel/trace/trace_bts.c 276 additions, 0 deletionskernel/trace/trace_bts.c
Loading
Please register or sign in to comment