projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: instruction pointer has different names across arch
[lttng-modules.git]
/
probes
/
lttng-uprobes.c
diff --git
a/probes/lttng-uprobes.c
b/probes/lttng-uprobes.c
index 47f3599f2baa336dd6c7e543a81aef5070b67efb..0b399291245f9f38d4ce1f52931311ebada3d73a 100644
(file)
--- a/
probes/lttng-uprobes.c
+++ b/
probes/lttng-uprobes.c
@@
-67,7
+67,7
@@
int lttng_uprobes_handler_pre(struct uprobe_consumer *uc, struct pt_regs *regs)
return 0;
/* Event payload. */
- payload.ip =
regs->ip
;
+ payload.ip =
(unsigned long)instruction_pointer(regs)
;
lib_ring_buffer_align_ctx(&ctx, lttng_alignof(payload));
chan->ops->event_write(&ctx, &payload, sizeof(payload));
This page took
0.022302 seconds
and
4
git commands to generate.