tracing: Only create function graph options when it is compiled in