Rename C++ header files to .hpp
[lttng-tools.git] / src / bin / lttng-sessiond / context.cpp
index 848d7504368ad3b9ea8b5c3680c18bf86e79a293..8dc82fbe82e70b538d41c2df88a1deb377df9412 100644 (file)
 #include <unistd.h>
 #include <urcu/list.h>
 
-#include <common/error.h>
-#include <common/sessiond-comm/sessiond-comm.h>
+#include <common/error.hpp>
+#include <common/sessiond-comm/sessiond-comm.hpp>
 
-#include "context.h"
-#include "kernel.h"
-#include "ust-app.h"
-#include "trace-ust.h"
-#include "agent.h"
+#include "context.hpp"
+#include "kernel.hpp"
+#include "ust-app.hpp"
+#include "trace-ust.hpp"
+#include "agent.hpp"
 
 /*
  * Add kernel context to all channel.
@@ -187,7 +187,8 @@ duplicate:
  * Add kernel context to tracer.
  */
 int context_kernel_add(struct ltt_kernel_session *ksession,
-               const struct lttng_event_context *ctx, char *channel_name)
+               const struct lttng_event_context *ctx,
+               const char *channel_name)
 {
        int ret;
        struct ltt_kernel_channel *kchan;
@@ -366,7 +367,7 @@ error:
 int context_ust_add(struct ltt_ust_session *usess,
                enum lttng_domain_type domain,
                const struct lttng_event_context *ctx,
-               char *channel_name)
+               const char *channel_name)
 {
        int ret = LTTNG_OK;
        struct lttng_ht_iter iter;
This page took 0.025022 seconds and 4 git commands to generate.