summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
blob: 033976d92b1228f5fd84de381dcff8917a7dda78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SystemTap control channel command values */
enum
{
	STP_BUF_INFO = 1,
	STP_SUBBUFS_CONSUMED,
        STP_REALTIME_DATA,
        STP_EXIT,
};

/*
 * 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);