projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor relayd main/set_options/cleanup
[lttng-tools.git]
/
src
/
bin
/
lttng
/
utils.c
diff --git
a/src/bin/lttng/utils.c
b/src/bin/lttng/utils.c
index 257dfc89aeaa63d368486f47ff5ec7468656a6a8..3cc254a3c9e40e8b5c5df5c64ebf942bacca82a0 100644
(file)
--- a/
src/bin/lttng/utils.c
+++ b/
src/bin/lttng/utils.c
@@
-16,6
+16,7
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
@@
-36,6
+37,8
@@
static const char *str_kernel = "Kernel";
static const char *str_ust = "UST";
static const char *str_jul = "JUL";
static const char *str_kernel = "Kernel";
static const char *str_ust = "UST";
static const char *str_jul = "JUL";
+static const char *str_log4j = "LOG4J";
+static const char *str_python = "Python";
/*
* get_session_name
/*
* get_session_name
@@
-274,6
+277,12
@@
const char *get_domain_str(enum lttng_domain_type domain)
case LTTNG_DOMAIN_JUL:
str_dom = str_jul;
break;
case LTTNG_DOMAIN_JUL:
str_dom = str_jul;
break;
+ case LTTNG_DOMAIN_LOG4J:
+ str_dom = str_log4j;
+ break;
+ case LTTNG_DOMAIN_PYTHON:
+ str_dom = str_python;
+ break;
default:
/* Should not have an unknown domain or else define it. */
assert(0);
default:
/* Should not have an unknown domain or else define it. */
assert(0);
This page took
0.023361 seconds
and
4
git commands to generate.