linux/tools/testing/selftests/ring-buffer/config

CONFIG_FTRACE=y
CONFIG_TRACER_SNAPSHOT=y