[IMPROVE] Add uprobe_ops registration 53/33653/2
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Wed, 4 Jun 2014 08:15:29 +0000 (12:15 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Tue, 24 Feb 2015 08:18:31 +0000 (11:18 +0300)
Change-Id: Ia128d1f2ce2ce9a8510703420fd0dca18adc41fa
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
us_manager/sspt/ip.c
us_manager/sspt/ip.h

index 0a46b33..3e87d80 100644 (file)
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "ip.h"
 #include "sspt_page.h"
 #include "sspt_file.h"
 #include <us_manager/probes/use_probes.h>
 
+
 /**
  * @brief Create us_ip struct
  *
index 30cee3c..27737ce 100644 (file)
@@ -48,6 +48,7 @@ struct us_ip {
        };
 };
 
+#define to_us_ip(rp) container_of(rp, struct us_ip, retprobe)
 
 struct us_ip *create_ip(unsigned long offset, const struct probe_info *probe_i);
 void free_ip(struct us_ip *ip);