Change-Id: Icf3569d9bcec1acfbe92e3cc245b9cdc69ab7714
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
p->addr = (kprobe_opcode_t *)(((char *)p->addr) + p->offset);
DBPRINTF("p->addr = 0x%p p = 0x%p\n", p->addr, p);
-#ifdef KPROBES_PROFILE
- p->start_tm.tv_sec = p->start_tm.tv_usec = 0;
- p->hnd_tm_sum.tv_sec = p->hnd_tm_sum.tv_usec = 0;
- p->count = 0;
-#endif
- p->mod_refcounted = 0;
p->nmissed = 0;
INIT_LIST_HEAD(&p->list);
struct hlist_node is_hlist;
/** List of kprobes for multi-handler support.*/
struct list_head list;
- /** Indicates that the corresponding module has been ref counted.*/
- unsigned int mod_refcounted;
/** Count the number of times this probe was temporarily disarmed.*/
unsigned long nmissed;
/** Location of the probe point. */
p->ainsn.insn = NULL;
INIT_LIST_HEAD(&p->list);
-#ifdef KPROBES_PROFILE
- p->start_tm.tv_sec = p->start_tm.tv_usec = 0;
- p->hnd_tm_sum.tv_sec = p->hnd_tm_sum.tv_usec = 0;
- p->count = 0;
-#endif
/* get the first item */
old_p = get_uprobe(p->addr, p->task->tgid);