projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng abi documentation: clarify getter usage requirements
[lttng-modules.git]
/
lttng-filter-interpreter.c
diff --git
a/lttng-filter-interpreter.c
b/lttng-filter-interpreter.c
index c7e9f1f1f1777577cc16baf7bda9f9d5ab5f92fa..bd838ccbca7d3fe72eb62b04c4439f785f71303f 100644
(file)
--- a/
lttng-filter-interpreter.c
+++ b/
lttng-filter-interpreter.c
@@
-20,10
+20,13
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <linux/uaccess.h>
+#include <wrapper/uaccess.h>
+#include <wrapper/frame.h>
#include <lttng-filter.h>
#include <lttng-filter.h>
+LTTNG_STACK_FRAME_NON_STANDARD(lttng_filter_interpret_bytecode);
+
/*
* get_char should be called with page fault handler disabled if it is expected
* to handle user-space read.
/*
* get_char should be called with page fault handler disabled if it is expected
* to handle user-space read.
@@
-37,7
+40,7
@@
char get_char(struct estack_entry *reg, size_t offset)
char c;
/* Handle invalid access as end of string. */
char c;
/* Handle invalid access as end of string. */
- if (unlikely(!access_ok(VERIFY_READ,
+ if (unlikely(!
lttng_
access_ok(VERIFY_READ,
reg->u.s.user_str + offset,
sizeof(c))))
return '\0';
reg->u.s.user_str + offset,
sizeof(c))))
return '\0';
This page took
0.041341 seconds
and
4
git commands to generate.