Lines Matching +full:ftrace +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Simple ftrace probe wrapper */
7 #include <linux/ftrace.h>
11 * struct fprobe - ftrace based probe.
16 * @entry_data_size: The private data storage size.
45 /* This fprobe is soft-disabled. */
56 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled()
61 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes()
73 return -EOPNOTSUPP; in register_fprobe()
77 return -EOPNOTSUPP; in register_fprobe_ips()
81 return -EOPNOTSUPP; in register_fprobe_syms()
85 return -EOPNOTSUPP; in unregister_fprobe()
94 * disable_fprobe() - Disable fprobe
97 * This will soft-disable @fp. Note that this doesn't remove the ftrace
103 fp->flags |= FPROBE_FL_DISABLED; in disable_fprobe()
107 * enable_fprobe() - Enable fprobe
110 * This will soft-enable @fp.
115 fp->flags &= ~FPROBE_FL_DISABLED; in enable_fprobe()