projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: apply `include-what-you-use` guideline for `close()`
[lttng-ust.git]
/
liblttng-ust-ctl
/
ustctl.c
diff --git
a/liblttng-ust-ctl/ustctl.c
b/liblttng-ust-ctl/ustctl.c
index 949ece17ace8a2d8ec2a2d624b0451fd5ee83313..914ce94ea024c5ace40dccf405cbb5b80ed192be 100644
(file)
--- a/
liblttng-ust-ctl/ustctl.c
+++ b/
liblttng-ust-ctl/ustctl.c
@@
-17,14
+17,16
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#include <byteswap.h>
+#include <stdint.h>
#include <string.h>
#include <string.h>
+#include <sys/mman.h>
+#include <unistd.h>
+
#include <lttng/ust-config.h>
#include <lttng/ust-ctl.h>
#include <lttng/ust-abi.h>
#include <lttng/ust-events.h>
#include <lttng/ust-config.h>
#include <lttng/ust-ctl.h>
#include <lttng/ust-abi.h>
#include <lttng/ust-events.h>
-#include <sys/mman.h>
-#include <byteswap.h>
-
#include <usterr-signal-safe.h>
#include <ust-comm.h>
#include <helper.h>
#include <usterr-signal-safe.h>
#include <ust-comm.h>
#include <helper.h>
@@
-77,8
+79,6
@@
extern void lttng_ring_buffer_client_discard_exit(void);
extern void lttng_ring_buffer_client_discard_rt_exit(void);
extern void lttng_ring_buffer_metadata_client_exit(void);
extern void lttng_ring_buffer_client_discard_rt_exit(void);
extern void lttng_ring_buffer_metadata_client_exit(void);
-volatile enum ust_loglevel ust_loglevel;
-
int ustctl_release_handle(int sock, int handle)
{
struct ustcomm_ust_msg lum;
int ustctl_release_handle(int sock, int handle)
{
struct ustcomm_ust_msg lum;
This page took
0.023404 seconds
and
4
git commands to generate.