summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
blob: 59273d8e8eebd9b1b1ce89ae3eb4a14d6f1bc189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SystemTap control channel command values */
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,
		    int print_summary);
extern int stp_main_loop(void);
extern int send_request(int type, void *data, int len);