aboutsummaryrefslogtreecommitdiff
path: root/backend.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2013-10-11 21:13:22 +0200
committerPetr Machata <pmachata@redhat.com>2013-10-23 01:00:02 +0200
commit23124cc5c33c6b7a547eb1008505f60590f67593 (patch)
tree4d8afb83e2b1a38efd8725b0f6e9de02dfd2fa68 /backend.h
parent9f819d5747dc2b8e0f7ac54b38dc321115de6dda (diff)
downloadltrace-23124cc5c33c6b7a547eb1008505f60590f67593.tar.gz
Move several os_ declarations before corresponding arch_ declarations
Diffstat (limited to 'backend.h')
-rw-r--r--backend.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/backend.h b/backend.h
index b4b3af1..713d675 100644
--- a/backend.h
+++ b/backend.h
@@ -281,6 +281,15 @@ void arch_library_symbol_destroy(struct library_symbol *libsym);
int arch_library_symbol_clone(struct library_symbol *retp,
struct library_symbol *libsym);
+/* The following callbacks have to be implemented in OS backend if
+ * os.h defines OS_HAVE_PROCESS_DATA. The protocol is same as for,
+ * respectively, arch_process_init, arch_process_destroy,
+ * arch_process_clone and arch_process_exec. */
+int os_process_init(struct process *proc);
+void os_process_destroy(struct process *proc);
+int os_process_clone(struct process *retp, struct process *proc);
+int os_process_exec(struct process *proc);
+
/* The following callbacks have to be implemented in backend if arch.h
* defines ARCH_HAVE_PROCESS_DATA. Those are used to init, destroy
* and clone PROC->arch. arch_process_exec is called to update
@@ -292,15 +301,6 @@ void arch_process_destroy(struct process *proc);
int arch_process_clone(struct process *retp, struct process *proc);
int arch_process_exec(struct process *proc);
-/* The following callbacks have to be implemented in OS backend if
- * os.h defines OS_HAVE_PROCESS_DATA. The protocol is same as for,
- * respectively, arch_process_init, arch_process_destroy,
- * arch_process_clone and arch_process_exec. */
-int os_process_init(struct process *proc);
-void os_process_destroy(struct process *proc);
-int os_process_clone(struct process *retp, struct process *proc);
-int os_process_exec(struct process *proc);
-
/* The following callback has to be implemented in backend if arch.h
* defines ARCH_HAVE_GET_SYM_INFO.
*