// SPDX-License-Identifier: GPL-2.0/* * * Function graph tracer. * Copyright (c) 2008-2009 Frederic Weisbecker <fweisbec@gmail.com> * Mostly borrowed from function tracer which * is Copyright (c) Steven Rostedt <srostedt@redhat.com> * */#include<linux/uaccess.h>#include<linux/ftrace.h>#include<linux/interrupt.h>#include<linux/slab.h>#include<linux/fs.h>#include"trace.h"#include"trace_output.h"staticboolkill_ftrace_graph;/** * ftrace_graph_is_dead - returns true if ftrace_graph_stop() was called * * ftrace_graph_stop() is called when a severe error is detected in * the function graph tracing. This function is called by the critical * paths of function graph to keep those paths from doing any more harm. */boolftrace_graph_is_dead(void){return