summaryrefslogtreecommitdiffstats
path: root/runtime/transport/transport_msgs.h
diff options
context:
space:
mode:
authorhunt <hunt>2008-01-15 19:54:25 +0000
committerhunt <hunt>2008-01-15 19:54:25 +0000
commit9012e89f2c17fddccac864f366af495ba7703f9b (patch)
tree8d0856fc9007feb7ea701a10b2fc4aa1268b1e89 /runtime/transport/transport_msgs.h
parentf4740301228bdc839e8c506dff9561b848dcc8f8 (diff)
downloadsystemtap-steved-9012e89f2c17fddccac864f366af495ba7703f9b.tar.gz
systemtap-steved-9012e89f2c17fddccac864f366af495ba7703f9b.tar.xz
systemtap-steved-9012e89f2c17fddccac864f366af495ba7703f9b.zip
PR4037 and fixes to better synchronize staprun and stapio.
Diffstat (limited to 'runtime/transport/transport_msgs.h')
-rw-r--r--runtime/transport/transport_msgs.h42
1 files changed, 41 insertions, 1 deletions
diff --git a/runtime/transport/transport_msgs.h b/runtime/transport/transport_msgs.h
index c6090969..b2187cd5 100644
--- a/runtime/transport/transport_msgs.h
+++ b/runtime/transport/transport_msgs.h
@@ -1,7 +1,7 @@
/* -*- linux-c -*-
* transport_msgs.h - messages exchanged between module and userspace
*
- * Copyright (C) Red Hat Inc, 2006-2007
+ * Copyright (C) Red Hat Inc, 2006-2008
*
* This file is part of systemtap, and is free software. You can
* redistribute it and/or modify it under the terms of the GNU General
@@ -9,6 +9,8 @@
* later version.
*/
+#define STP_MODULE_NAME_LEN 64
+
struct _stp_trace {
uint32_t sequence; /* event number */
uint32_t pdu_len; /* length of data after this trace */
@@ -27,6 +29,7 @@ enum
STP_CONNECT,
STP_DISCONNECT,
STP_BULK,
+ STP_READY,
#ifdef STP_OLD_TRANSPORT
/** deprecated **/
STP_BUF_INFO,
@@ -58,6 +61,43 @@ struct _stp_msg_start
int32_t res; // for reply: result of probe_start()
};
+struct _stp_symbol32
+{
+ uint32_t addr;
+ uint32_t symbol;
+};
+
+struct _stp_symbol64
+{
+ uint64_t addr;
+ uint64_t symbol;
+};
+
+struct _stp_msg_symbol_hdr
+{
+ uint32_t num_syms;
+ uint32_t sym_size;
+ uint32_t unwind_size;
+};
+
+struct _stp_msg_module {
+ /* the module name, or "" for kernel */
+ char name[STP_MODULE_NAME_LEN];
+
+ /* A pointer to the struct module */
+ uint64_t module;
+
+ /* the start of the module's text and data sections */
+ uint64_t text;
+ uint64_t data;
+
+ /* how many sections this module has */
+ uint32_t num_sections;
+
+ /* length of unwind data */
+ uint32_t unwind_len;
+};
+
#ifdef STP_OLD_TRANSPORT
/**** for compatibility with old relayfs ****/
struct _stp_buf_info