projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: dma-fence.h appears in Linux 4.10, not 4.9
[lttng-modules.git]
/
include
/
lttng
/
lttng-bytecode.h
diff --git
a/include/lttng/lttng-bytecode.h
b/include/lttng/lttng-bytecode.h
index 87a0c13d95c4631f2ffcf1752553970cf9bec12e..37c0e8a04fd9700cf881c2bd566c47bb966e2611 100644
(file)
--- a/
include/lttng/lttng-bytecode.h
+++ b/
include/lttng/lttng-bytecode.h
@@
-13,6
+13,7
@@
#include <linux/kernel.h>
#include <lttng/events.h>
#include <linux/kernel.h>
#include <lttng/events.h>
+#include <lttng/events-internal.h>
#include <lttng/bytecode.h>
/* Interpreter stack length, in number of entries */
#include <lttng/bytecode.h>
/* Interpreter stack length, in number of entries */
@@
-101,6
+102,7
@@
struct bytecode_get_index_data {
size_t len;
enum object_type type;
bool rev_bo; /* reverse byte order */
size_t len;
enum object_type type;
bool rev_bo; /* reverse byte order */
+ bool user; /* from userspace */
} elem;
};
} elem;
};
@@
-110,6
+112,7
@@
struct vstack_load {
enum object_type object_type;
const struct lttng_kernel_event_field *field;
bool rev_bo; /* reverse byte order */
enum object_type object_type;
const struct lttng_kernel_event_field *field;
bool rev_bo; /* reverse byte order */
+ bool user; /* from userspace */
};
struct vstack_entry {
};
struct vstack_entry {
@@
-179,6
+182,7
@@
struct load_ptr {
const void *ptr;
size_t nr_elem;
bool rev_bo;
const void *ptr;
size_t nr_elem;
bool rev_bo;
+ bool user; /* from userspace */
/* Temporary place-holders for contexts. */
union {
int64_t s64;
/* Temporary place-holders for contexts. */
union {
int64_t s64;
@@
-198,7
+202,7
@@
struct estack_entry {
const char __user *user_str;
size_t seq_len;
enum estack_string_literal_type literal_type;
const char __user *user_str;
size_t seq_len;
enum estack_string_literal_type literal_type;
-
int user;
/* is string from userspace ? */
+
bool user;
/* is string from userspace ? */
} s;
struct load_ptr ptr;
} u;
} s;
struct load_ptr ptr;
} u;
@@
-270,7
+274,9
@@
struct lttng_interpreter_output {
struct {
const char *str;
struct {
const char *str;
+ const char __user *user_str;
size_t len;
size_t len;
+ bool user; /* is string from userspace ? */
} str;
struct {
const void *ptr;
} str;
struct {
const void *ptr;
This page took
0.025749 seconds
and
4
git commands to generate.