projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: fix pthread_setname_np integration
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index 6258bfd2485691eae04411278f1bc2ed111d58c0..b265bcd3c61e254c9e8dc889d56fef389f2c18e1 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-265,7
+265,7
@@
struct sock_info {
int statedump_pending;
int initial_statedump_done;
/* Keep procname for statedump */
int statedump_pending;
int initial_statedump_done;
/* Keep procname for statedump */
- char procname[LTTNG_UST_PROCNAME_LEN];
+ char procname[LTTNG_UST_
ABI_
PROCNAME_LEN];
};
/* Socket from app (connect) to session daemon (listen) for communication */
};
/* Socket from app (connect) to session daemon (listen) for communication */
@@
-482,7
+482,7
@@
int setup_global_apps(void)
}
global_apps.allowed = 1;
}
global_apps.allowed = 1;
- lttng_
ust_getprocname(global_apps.procname
);
+ lttng_
pthread_getname_np(global_apps.procname, LTTNG_UST_ABI_PROCNAME_LEN
);
error:
return ret;
}
error:
return ret;
}
@@
-528,7
+528,7
@@
int setup_local_apps(void)
goto end;
}
goto end;
}
- lttng_
ust_getprocname(local_apps.procname
);
+ lttng_
pthread_getname_np(local_apps.procname, LTTNG_UST_ABI_PROCNAME_LEN
);
end:
return ret;
}
end:
return ret;
}
This page took
0.02392 seconds
and
4
git commands to generate.