projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Privatize part of marker.h, and type-serializer.h
[lttng-ust.git]
/
libustcomm
/
ustcomm.h
diff --git
a/libustcomm/ustcomm.h
b/libustcomm/ustcomm.h
index 995295810a5fc80ee4f8fcd1cae87618ed821a03..4706b72fbb930eaf4d22e5d1ac11702fe627171a 100644
(file)
--- a/
libustcomm/ustcomm.h
+++ b/
libustcomm/ustcomm.h
@@
-105,10
+105,10
@@
struct ustcomm_buffer_info {
char data[USTCOMM_DATA_SIZE];
};
char data[USTCOMM_DATA_SIZE];
};
-struct ustcomm_marker_info {
+struct ustcomm_
ust_
marker_info {
char *trace;
char *channel;
char *trace;
char *channel;
- char *marker;
+ char *
ust_
marker;
char data[USTCOMM_DATA_SIZE];
};
char data[USTCOMM_DATA_SIZE];
};
@@
-162,6
+162,13
@@
extern int ustcomm_request_consumer(pid_t pid, const char *channel);
/* Returns the current users socket directory, must be freed */
extern char *ustcomm_user_sock_dir(void);
/* Returns the current users socket directory, must be freed */
extern char *ustcomm_user_sock_dir(void);
+
+/* Get the st_m_time from proc*/
+extern time_t ustcomm_pid_st_mtime(pid_t pid);
+
+/* Check that a socket is live */
+extern int ustcomm_is_socket_live(char *sock_name, pid_t *read_pid);
+
extern int ustcomm_connect_app(pid_t pid, int *app_fd);
extern int ustcomm_connect_path(const char *path, int *connection_fd);
extern int ustcomm_connect_app(pid_t pid, int *app_fd);
extern int ustcomm_connect_path(const char *path, int *connection_fd);
@@
-202,12
+209,12
@@
extern int ustcomm_pack_buffer_info(struct ustcomm_header *header,
extern int ustcomm_unpack_buffer_info(struct ustcomm_buffer_info *buf_inf);
extern int ustcomm_unpack_buffer_info(struct ustcomm_buffer_info *buf_inf);
-extern int ustcomm_pack_marker_info(struct ustcomm_header *header,
- struct ustcomm_
marker_info *
marker_inf,
+extern int ustcomm_pack_
ust_
marker_info(struct ustcomm_header *header,
+ struct ustcomm_
ust_marker_info *ust_
marker_inf,
const char *trace,
const char *channel,
const char *trace,
const char *channel,
- const char *marker);
+ const char *
ust_
marker);
-extern int ustcomm_unpack_
marker_info(struct ustcomm_marker_info *
marker_inf);
+extern int ustcomm_unpack_
ust_marker_info(struct ustcomm_ust_marker_info *ust_
marker_inf);
#endif /* USTCOMM_H */
#endif /* USTCOMM_H */
This page took
0.024244 seconds
and
4
git commands to generate.