summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes/uprobes.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/uprobes/uprobes.h')
-rw-r--r--runtime/uprobes/uprobes.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/uprobes/uprobes.h b/runtime/uprobes/uprobes.h
index 84dd0b2a..e8a06599 100644
--- a/runtime/uprobes/uprobes.h
+++ b/runtime/uprobes/uprobes.h
@@ -278,9 +278,15 @@ struct uprobe_probept {
/* Saved opcode (which has been replaced with breakpoint) */
uprobe_opcode_t opcode;
- /* Saved original instruction */
+ /*
+ * Saved original instruction. This may be modified by
+ * architecture-specific code if the original instruction
+ * can't be single-stepped out of line as-is.
+ */
uprobe_opcode_t insn[MAX_UINSN_BYTES / sizeof(uprobe_opcode_t)];
+ struct uprobe_probept_arch_info arch_info;
+
/* The parent uprobe_process */
struct uprobe_process *uproc;
@@ -359,6 +365,8 @@ struct uprobe_task {
/* Saved address of copied original instruction */
long singlestep_addr;
+ struct uprobe_task_arch_info arch_info;
+
/*
* Unexpected error in probepoint handling has left task's
* text or stack corrupted. Kill task ASAP.