libtracefs provides an alternative interface for interacting with ftrace via sysfs. This might simplify fdrd and should be investigated. https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/