x86, bts, ftrace: a BTS ftrace plug-in prototype
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 25 Nov 2008 08:24:15 +0000 (09:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 25 Nov 2008 16:31:13 +0000 (17:31 +0100)
commit1e9b51c28312f7334394aa30be56ff52c2b65b7e
treec0a231d83541263ee938e3452475409323e4e9a9
parent8bba1bf5e2434c83f2fe8b1422604ace9bbe4cb8
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>
arch/x86/Kconfig.cpu
kernel/trace/Kconfig
kernel/trace/Makefile
kernel/trace/trace.h
kernel/trace/trace_bts.c [new file with mode: 0644]