projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename get_event_type to config_get_event_type
[deliverable/lttng-tools.git]
/
src
/
common
/
config
/
session-config.h
diff --git
a/src/common/config/session-config.h
b/src/common/config/session-config.h
index 8e6e2803fc50658450c13c15b5d81f355f8ac610..7d53240115759312acca0d419bf5a3137d168b8f 100644
(file)
--- a/
src/common/config/session-config.h
+++ b/
src/common/config/session-config.h
@@
-22,6
+22,7
@@
#include <common/config/config-session-abi.h>
#include <common/macros.h>
#include <lttng/domain.h>
#include <common/config/config-session-abi.h>
#include <common/macros.h>
#include <lttng/domain.h>
+#include <lttng/event.h>
#include <stdint.h>
struct config_entry {
#include <stdint.h>
struct config_entry {
@@
-45,6
+46,13
@@
struct config_element;
LTTNG_HIDDEN
const char *config_get_domain_str(enum lttng_domain_type domain);
LTTNG_HIDDEN
const char *config_get_domain_str(enum lttng_domain_type domain);
+/*
+ * Return the event_type int value of lttng_event_type enumeration based on the
+ * passed string.
+ */
+LTTNG_HIDDEN
+int config_get_event_type(const char *event_type);
+
/*
* A config_entry_handler_cb receives config_entry structures belonging to the
* sections the handler has been registered to.
/*
* A config_entry_handler_cb receives config_entry structures belonging to the
* sections the handler has been registered to.
This page took
0.025318 seconds
and
5
git commands to generate.