projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: add raw perf test to the test list when building with libpfm support
[lttng-tools.git]
/
tests
/
unit
/
test_session.c
diff --git
a/tests/unit/test_session.c
b/tests/unit/test_session.c
index 94e93cd808f6e1ace74133371da576a52d5ae05c..676ea316e95ab0784ebb8ee9d3a02fde0d1a72d2 100644
(file)
--- a/
tests/unit/test_session.c
+++ b/
tests/unit/test_session.c
@@
-6,7
+6,6
@@
*/
#include <assert.h>
*/
#include <assert.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-17,6
+16,7
@@
#include <tap/tap.h>
#include <tap/tap.h>
+#include <common/compat/errno.h>
#include <bin/lttng-sessiond/session.h>
#include <bin/lttng-sessiond/ust-app.h>
#include <bin/lttng-sessiond/ht-cleanup.h>
#include <bin/lttng-sessiond/session.h>
#include <bin/lttng-sessiond/ust-app.h>
#include <bin/lttng-sessiond/ht-cleanup.h>
@@
-66,7
+66,7
@@
static char *get_random_string(void)
/*
* Return 0 if session name is found, else -1
*/
/*
* Return 0 if session name is found, else -1
*/
-static int find_session_name(char *name)
+static int find_session_name(c
onst c
har *name)
{
struct ltt_session *iter;
{
struct ltt_session *iter;
@@
-110,7
+110,7
@@
static void empty_session_list(void)
/*
* Test creation of 1 session
*/
/*
* Test creation of 1 session
*/
-static int create_one_session(char *name)
+static int create_one_session(c
onst c
har *name)
{
int ret;
enum lttng_error_code ret_code;
{
int ret;
enum lttng_error_code ret_code;
This page took
0.02578 seconds
and
4
git commands to generate.