|
@@ -29,6 +29,7 @@
|
|
|
* <jkenisto@us.ibm.com> and Prasanna S Panchamukhi
|
|
|
* <prasanna@in.ibm.com> added function-return probes.
|
|
|
*/
|
|
|
+#include <linux/linkage.h>
|
|
|
#include <linux/list.h>
|
|
|
#include <linux/notifier.h>
|
|
|
#include <linux/smp.h>
|
|
@@ -47,7 +48,7 @@
|
|
|
#define KPROBE_HIT_SSDONE 0x00000008
|
|
|
|
|
|
/* Attach to insert probes on any functions which should be ignored*/
|
|
|
-#define __kprobes __attribute__((__section__(".kprobes.text")))
|
|
|
+#define __kprobes __attribute__((__section__(".kprobes.text"))) notrace
|
|
|
|
|
|
struct kprobe;
|
|
|
struct pt_regs;
|
|
@@ -256,7 +257,7 @@ void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head);
|
|
|
|
|
|
#else /* CONFIG_KPROBES */
|
|
|
|
|
|
-#define __kprobes /**/
|
|
|
+#define __kprobes notrace
|
|
|
struct jprobe;
|
|
|
struct kretprobe;
|
|
|
|