minor refactor of ustd to avoid deadlock
[ust.git] / ustd / ustd.h
index 0b2db775e1c766fae68dd7c8f37c958bc619d6e7..8d5becd3e24c2a2590654ddeccf1db60039e489c 100644 (file)
@@ -6,7 +6,7 @@
 #define USTD_DEFAULT_TRACE_PATH "/tmp/usttrace"
 
 struct buffer_info {
-       char *name;
+       const char *name;
        pid_t pid;
        struct ustcomm_connection conn;
 
@@ -28,9 +28,9 @@ struct buffer_info {
        int file_fd; /* output file */
 
        long consumed_old;
-};
 
-ssize_t patient_write(int fd, const void *buf, size_t count);
+       s64 pidunique;
+};
 
 void finish_consuming_dead_subbuffer(struct buffer_info *buf);
 
This page took 0.023094 seconds and 4 git commands to generate.