summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes/uprobes.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-10-21 16:34:49 -0400
committerFrank Ch. Eigler <fche@elastic.org>2007-10-21 16:34:49 -0400
commit24993e4fcae48ca014e6b53f3f9a011c9cfa8f06 (patch)
tree90080b050ab62e79e7d111cc764a75dba91ad485 /runtime/uprobes/uprobes.h
parent11088605d9c0ab753e613b9ae52b6e59948cfc83 (diff)
parentf994dd4997067ca69b3b10ff8fa1547987aed585 (diff)
downloadsystemtap-steved-24993e4fcae48ca014e6b53f3f9a011c9cfa8f06.tar.gz
systemtap-steved-24993e4fcae48ca014e6b53f3f9a011c9cfa8f06.tar.xz
systemtap-steved-24993e4fcae48ca014e6b53f3f9a011c9cfa8f06.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
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.