projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't call __builtin_return_address(0) on 32-bit powerpc
[lttng-ust.git]
/
liblttng-ust
/
lttng-filter.h
diff --git
a/liblttng-ust/lttng-filter.h
b/liblttng-ust/lttng-filter.h
index 8a40d16f740a5f8d75a4d513f789954ab51f0387..fdc8ac67ed1ada4b72996240de380bf1e6bb3ebb 100644
(file)
--- a/
liblttng-ust/lttng-filter.h
+++ b/
liblttng-ust/lttng-filter.h
@@
-54,18
+54,22
@@
#endif
#ifdef DEBUG
#endif
#ifdef DEBUG
-#define dbg_printf(fmt, args...) printf("[debug bytecode] " fmt, ## args)
+#define dbg_printf(fmt, args...) \
+ printf("[debug bytecode in %s:%s@%u] " fmt, \
+ __FILE__, __func__, __LINE__, ## args)
#else
#define dbg_printf(fmt, args...) \
do { \
/* do nothing but check printf format */ \
if (0) \
#else
#define dbg_printf(fmt, args...) \
do { \
/* do nothing but check printf format */ \
if (0) \
- printf("[debug bytecode] " fmt, ## args); \
+ printf("[debug bytecode in %s:%s@%u] " fmt, \
+ __FILE__, __func__, __LINE__, ## args); \
} while (0)
#endif
} while (0)
#endif
-/* Linked bytecode */
+/* Linked bytecode
. Child of struct lttng_bytecode_runtime.
*/
struct bytecode_runtime {
struct bytecode_runtime {
+ struct lttng_bytecode_runtime p;
uint16_t len;
char data[0];
};
uint16_t len;
char data[0];
};
@@
-186,9
+190,9
@@
const char *print_op(enum filter_op op);
int lttng_filter_validate_bytecode(struct bytecode_runtime *bytecode);
int lttng_filter_specialize_bytecode(struct bytecode_runtime *bytecode);
int lttng_filter_validate_bytecode(struct bytecode_runtime *bytecode);
int lttng_filter_specialize_bytecode(struct bytecode_runtime *bytecode);
-
in
t lttng_filter_false(void *filter_data,
+
uint64_
t lttng_filter_false(void *filter_data,
const char *filter_stack_data);
const char *filter_stack_data);
-
in
t lttng_filter_interpret_bytecode(void *filter_data,
+
uint64_
t lttng_filter_interpret_bytecode(void *filter_data,
const char *filter_stack_data);
#endif /* _LTTNG_FILTER_H */
const char *filter_stack_data);
#endif /* _LTTNG_FILTER_H */
This page took
0.02581 seconds
and
4
git commands to generate.