projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: use compat lttng_fls()
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
kernel.c
diff --git
a/src/bin/lttng-sessiond/kernel.c
b/src/bin/lttng-sessiond/kernel.c
index a117575b74c45ae067ed9ac31fccc6952a3e9fd0..d7c7984d201ba96c82d050eb71a48dca798c8e38 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel.c
+++ b/
src/bin/lttng-sessiond/kernel.c
@@
-5,12
+5,6
@@
*
*/
*
*/
-#include "bin/lttng-sessiond/tracker.h"
-#include "common/tracker.h"
-#include "common/utils.h"
-#include "lttng/event.h"
-#include "lttng/lttng-error.h"
-#include "lttng/tracker.h"
#define _LGPL_SOURCE
#include <fcntl.h>
#include <stdlib.h>
#define _LGPL_SOURCE
#include <fcntl.h>
#include <stdlib.h>
@@
-25,6
+19,11
@@
#include <common/kernel-ctl/kernel-ctl.h>
#include <common/kernel-ctl/kernel-ioctl.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/kernel-ctl/kernel-ctl.h>
#include <common/kernel-ctl/kernel-ioctl.h>
#include <common/sessiond-comm/sessiond-comm.h>
+#include <common/tracker.h>
+#include <common/utils.h>
+#include <lttng/event.h>
+#include <lttng/lttng-error.h>
+#include <lttng/tracker.h>
#include "lttng-sessiond.h"
#include "lttng-syscall.h"
#include "lttng-sessiond.h"
#include "lttng-syscall.h"
@@
-35,6
+34,7
@@
#include "utils.h"
#include "rotate.h"
#include "modprobe.h"
#include "utils.h"
#include "rotate.h"
#include "modprobe.h"
+#include "tracker.h"
/*
* Key used to reference a channel between the sessiond and the consumer. This
/*
* Key used to reference a channel between the sessiond and the consumer. This
@@
-1734,7
+1734,7
@@
enum lttng_error_code kernel_rotate_session(struct ltt_session *session)
socket, node.node) {
struct ltt_kernel_channel *chan;
socket, node.node) {
struct ltt_kernel_channel *chan;
-
/* For each channel, ask the consumer to rotate it. */
+ /* For each channel, ask the consumer to rotate it. */
cds_list_for_each_entry(chan, &ksess->channel_list.head, list) {
DBG("Rotate kernel channel %" PRIu64 ", session %s",
chan->key, session->name);
cds_list_for_each_entry(chan, &ksess->channel_list.head, list) {
DBG("Rotate kernel channel %" PRIu64 ", session %s",
chan->key, session->name);
This page took
0.023373 seconds
and
4
git commands to generate.