Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe832a3a authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt
Browse files

tracing: remove notrace from __kprobes annotation



When ftrace had issues with NMIs, it was needed to annotate all
the areas that kprobes had issues with notrace. Now that ftrace is
NMI safe, the functions that limit ftrace from tracing are just a
small few.

Kprobes is too big of a set for ftrace not to trace. Remove the
coupling.

Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 6ca6cca3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -48,13 +48,13 @@
#define KPROBE_HIT_SSDONE	0x00000008
#define KPROBE_HIT_SSDONE	0x00000008


/* Attach to insert probes on any functions which should be ignored*/
/* Attach to insert probes on any functions which should be ignored*/
#define __kprobes	__attribute__((__section__(".kprobes.text"))) notrace
#define __kprobes	__attribute__((__section__(".kprobes.text")))
#else /* CONFIG_KPROBES */
#else /* CONFIG_KPROBES */
typedef int kprobe_opcode_t;
typedef int kprobe_opcode_t;
struct arch_specific_insn {
struct arch_specific_insn {
	int dummy;
	int dummy;
};
};
#define __kprobes	notrace
#define __kprobes
#endif /* CONFIG_KPROBES */
#endif /* CONFIG_KPROBES */


struct kprobe;
struct kprobe;