diff options
author | Vasiliy Ulyanov <v.ulyanov@samsung.com> | 2014-06-04 12:15:29 +0400 |
---|---|---|
committer | Alexander Aksenov <a.aksenov@samsung.com> | 2015-02-24 11:18:32 +0300 |
commit | 97ff2e504bbecfd960ac672fc5d6efff0f3bb781 (patch) | |
tree | 70d64914f7feb1747f27859e74d3069cc7791de9 | |
parent | 18d6350a735a40511666d9d727ce31b4ebdb7d89 (diff) | |
download | swap-modules-97ff2e504bbecfd960ac672fc5d6efff0f3bb781.tar.gz swap-modules-97ff2e504bbecfd960ac672fc5d6efff0f3bb781.tar.bz2 swap-modules-97ff2e504bbecfd960ac672fc5d6efff0f3bb781.zip |
[IMPROVE] Add uprobe_ops registration
Change-Id: I165a8d4fd115c5d24800a091a1600a1b81d13bb2
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
-rw-r--r-- | us_manager/sspt/ip.c | 2 | ||||
-rw-r--r-- | us_manager/sspt/sspt_proc.c | 1 | ||||
-rw-r--r-- | us_manager/sspt/sspt_proc.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/us_manager/sspt/ip.c b/us_manager/sspt/ip.c index 3e87d80e..6e85c871 100644 --- a/us_manager/sspt/ip.c +++ b/us_manager/sspt/ip.c @@ -29,10 +29,10 @@ #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 diff --git a/us_manager/sspt/sspt_proc.c b/us_manager/sspt/sspt_proc.c index baa09684..f6a6fc07 100644 --- a/us_manager/sspt/sspt_proc.c +++ b/us_manager/sspt/sspt_proc.c @@ -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); diff --git a/us_manager/sspt/sspt_proc.h b/us_manager/sspt/sspt_proc.h index c83359b8..c55bd34c 100644 --- a/us_manager/sspt/sspt_proc.h +++ b/us_manager/sspt/sspt_proc.h @@ -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 */ }; |