[PATCH 4.19 098/139] function_graph: Create function_graph_enter() to consolidate architecture code