Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
event->u.kprobe.symbol_name;
}
event->u.kprobe.kp.offset = offset;
- event->u.kprobe.kp.addr = (void *) addr;
+ event->u.kprobe.kp.addr = (void *) (unsigned long) addr;
/*
* Ensure the memory we just allocated don't trigger page faults.
alloc_symbol;
}
lttng_krp->krp.kp.offset = offset;
- lttng_krp->krp.kp.addr = (void *) addr;
+ lttng_krp->krp.kp.addr = (void *) (unsigned long) addr;
/* Allow probe handler to find event structures */
lttng_krp->event[EVENT_ENTRY] = event_entry;