summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stpd/librelay.h')
-rw-r--r--runtime/stpd/librelay.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/stpd/librelay.h b/runtime/stpd/librelay.h
index 033976d9..59273d8e 100644
--- a/runtime/stpd/librelay.h
+++ b/runtime/stpd/librelay.h
@@ -4,18 +4,22 @@ enum
STP_BUF_INFO = 1,
STP_SUBBUFS_CONSUMED,
STP_REALTIME_DATA,
+ STP_TRANSPORT_MODE,
STP_EXIT,
};
+/* SystemTap transport options */
+enum
+{
+ STP_TRANSPORT_NETLINK = 1,
+ STP_TRANSPORT_RELAYFS
+};
+
/*
* stp external API functions
*/
extern int init_stp(const char *modname,
const char *relay_filebase,
- const char *out_filebase,
- unsigned sub_buf_size,
- unsigned n_sub_bufs,
int print_summary);
-
extern int stp_main_loop(void);
extern int send_request(int type, void *data, int len);