[IMPROVE] Add uprobe_ops registration 57/33657/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:32 +0000 (11:18 +0300)
Change-Id: I165a8d4fd115c5d24800a091a1600a1b81d13bb2
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
us_manager/sspt/ip.c
us_manager/sspt/sspt_proc.c
us_manager/sspt/sspt_proc.h

index 3e87d80..6e85c87 100644 (file)
 #include "sspt_file.h"
 #include <us_manager/probes/use_probes.h>
 
-
 /**
  * @brief Create us_ip struct
  *
+ * @param page User page
  * @param offset Function offset from the beginning of the page
  * @param probe_i Pointer to the probe data.
  * @return Pointer to the created us_ip struct
index baa0968..f6a6fc0 100644 (file)
@@ -103,6 +103,7 @@ struct sspt_proc *sspt_proc_create(struct task_struct *task, void *priv)
                proc->task = task->group_leader;
                proc->sm = create_sm_us(task);
                proc->first_install = 0;
+               proc->private_data = NULL;
                INIT_LIST_HEAD(&proc->file_list);
                INIT_LIST_HEAD(&proc->filter_list);
 
index c83359b..c55bd34 100644 (file)
@@ -51,6 +51,7 @@ struct sspt_proc {
        struct list_head filter_list;   /**< Filter list */
        unsigned first_install:1;       /**< Install flag */
        struct sspt_feature *feature;   /**< Ptr to the feature */
+       void *private_data;             /**< Process private data */
 };