projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract the FDs and flags from poll and ppoll
[lttng-modules.git]
/
lttng-events.h
diff --git
a/lttng-events.h
b/lttng-events.h
index 9d775d5723d17d614547023c770ecc19ed0c8fbf..9c8f03b8d4fc27849cf31c557e44de78da350fd8 100644
(file)
--- a/
lttng-events.h
+++ b/
lttng-events.h
@@
-28,6
+28,7
@@
#include <linux/kprobes.h>
#include <linux/kref.h>
#include <wrapper/uuid.h>
#include <linux/kprobes.h>
#include <linux/kref.h>
#include <wrapper/uuid.h>
+#include <lttng-tracer.h>
#include <lttng-abi.h>
#include <lttng-abi-old.h>
#include <lttng-abi.h>
#include <lttng-abi-old.h>
@@
-68,8
+69,13
@@
enum channel_type {
METADATA_CHANNEL,
};
METADATA_CHANNEL,
};
+struct lttng_enum_value {
+ unsigned long long value;
+ unsigned int signedness:1;
+};
+
struct lttng_enum_entry {
struct lttng_enum_entry {
-
unsigned long long start, end;
/* start and end are inclusive */
+
struct lttng_enum_value start, end;
/* start and end are inclusive */
const char *string;
};
const char *string;
};
@@
-100,7
+106,8
@@
struct lttng_integer_type {
union _lttng_basic_type {
struct lttng_integer_type integer;
struct {
union _lttng_basic_type {
struct lttng_integer_type integer;
struct {
- const char *name;
+ const struct lttng_enum_desc *desc; /* Enumeration mapping */
+ struct lttng_integer_type container_type;
} enumeration;
struct {
enum lttng_string_encodings encoding;
} enumeration;
struct {
enum lttng_string_encodings encoding;
@@
-148,11
+155,10
@@
struct lttng_type {
} u;
};
} u;
};
-struct lttng_enum {
+struct lttng_enum
_desc
{
const char *name;
const char *name;
- struct lttng_type container_type;
const struct lttng_enum_entry *entries;
const struct lttng_enum_entry *entries;
- unsigned int
len
;
+ unsigned int
nr_entries
;
};
/* Event field description */
};
/* Event field description */
This page took
0.026854 seconds
and
4
git commands to generate.