projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usttrace: change ustd socket name to ustd-sock-PID
[lttng-ust.git]
/
libustcomm
/
ustcomm.c
diff --git
a/libustcomm/ustcomm.c
b/libustcomm/ustcomm.c
index 6044c271fa7101d585261d44b1c24f401dfd2ef4..2bd86eb728442c2713f74cd24a30766706d731c8 100644
(file)
--- a/
libustcomm/ustcomm.c
+++ b/
libustcomm/ustcomm.c
@@
-31,7
+31,7
@@
#include <execinfo.h>
#include "ustcomm.h"
#include <execinfo.h>
#include "ustcomm.h"
-#include "
local
err.h"
+#include "
ust
err.h"
#define UNIX_PATH_MAX 108
#define UNIX_PATH_MAX 108
@@
-67,22
+67,11
@@
char *strdup_malloc(const char *s)
static int signal_process(pid_t pid)
{
static int signal_process(pid_t pid)
{
- int result;
-
- result = kill(pid, UST_SIGNAL);
- if(result == -1) {
- PERROR("kill");
- return -1;
- }
-
- /* FIXME: should wait in a better way */
- //sleep(1);
-
return 0;
}
int pid_is_online(pid_t pid) {
return 0;
}
int pid_is_online(pid_t pid) {
- return
kill(pid, UST_SIGNAL) != -
1;
+ return 1;
}
static int send_message_fd(int fd, const char *msg)
}
static int send_message_fd(int fd, const char *msg)
This page took
0.024743 seconds
and
4
git commands to generate.