projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: statedump: invalid read during iter_end
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-bytecode.c
diff --git
a/src/lib/lttng-ust/lttng-bytecode.c
b/src/lib/lttng-ust/lttng-bytecode.c
index 9222e1cc2d5091110a0d626e9368a2a1911cfe2f..099fc5ca5bab4d444f328fc2fa0ae9991cefe749 100644
(file)
--- a/
src/lib/lttng-ust/lttng-bytecode.c
+++ b/
src/lib/lttng-ust/lttng-bytecode.c
@@
-16,6
+16,7
@@
#include "lttng-bytecode.h"
#include "lib/lttng-ust/events.h"
#include "common/macros.h"
#include "lttng-bytecode.h"
#include "lib/lttng-ust/events.h"
#include "common/macros.h"
+#include "common/tracer.h"
static const char *opnames[] = {
[ BYTECODE_OP_UNKNOWN ] = "UNKNOWN",
static const char *opnames[] = {
[ BYTECODE_OP_UNKNOWN ] = "UNKNOWN",
@@
-189,10
+190,10
@@
int apply_field_reloc(const struct lttng_ust_event_desc *event_desc,
/* Lookup event by name */
if (!event_desc)
return -EINVAL;
/* Lookup event by name */
if (!event_desc)
return -EINVAL;
- fields = event_desc->fields;
+ fields = event_desc->
tp_class->
fields;
if (!fields)
return -EINVAL;
if (!fields)
return -EINVAL;
- nr_fields = event_desc->nr_fields;
+ nr_fields = event_desc->
tp_class->
nr_fields;
for (i = 0; i < nr_fields; i++) {
if (fields[i]->nofilter) {
continue;
for (i = 0; i < nr_fields; i++) {
if (fields[i]->nofilter) {
continue;
This page took
0.026301 seconds
and
4
git commands to generate.