ad6c531864f3134fdb3eb552c133eafc393f96c5
13 #define USTCMD_ERR_CONN 1 // Process connection error
14 #define USTCMD_ERR_ARG 2 // Invalid function argument
15 #define USTCMD_ERR_GEN 3 // General ustcmd error
17 #define USTCMD_MS_CHR_OFF '0' // Marker state 'on' character
18 #define USTCMD_MS_CHR_ON '1' // Marker state 'on' character
19 #define USTCMD_MS_OFF 0 // Marker state 'on' value
20 #define USTCMD_MS_ON 1 // Marker state 'on' value
22 #define USTCMD_SOCK_PATH "/tmp/socks/" // UST sockets directory
24 // Channel/marker/state/format string (cmsf) info. structure
26 char* channel
; // Channel name (end of USTcmd_cmsf array if NULL)
27 char* marker
; // Marker name (end of USTcmd_cmsf array if NULL)
28 int state
; // State (0 := marker disabled, 1 := marker enabled)
29 char* fs
; // Format string (end of USTcmd_cmsf array if NULL)
32 pid_t
* ustcmd_get_online_pids(void);
33 int ustcmd_set_marker_state(const char*, int, pid_t
);
34 int ustcmd_destroy_trace(pid_t
);
35 int ustcmd_setup_and_start(pid_t
);
36 int ustcmd_stop_trace(pid_t
);
37 int ustcmd_start_trace(pid_t
);
38 int ustcmd_free_cmsf(struct USTcmd_cmsf
*);
39 unsigned int ustcmd_count_nl(const char*);
40 int ustcmd_shoot(const char*, pid_t
, char**);
41 int ustcmd_get_cmsf(struct USTcmd_cmsf
**, pid_t
);
This page took 0.03995 seconds and 4 git commands to generate.