function-graph: Add tracing_thresh support to function_graph tracer