projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move bytecode structures to internal header
[lttng-modules.git]
/
src
/
lttng-context-callstack.c
diff --git
a/src/lttng-context-callstack.c
b/src/lttng-context-callstack.c
index e6ac259621b5f8b557228736cd2380fc97056fca..1ae340a17933a01237390041e4649e0825617f18 100644
(file)
--- a/
src/lttng-context-callstack.c
+++ b/
src/lttng-context-callstack.c
@@
-46,6
+46,7
@@
#include <ringbuffer/backend.h>
#include <ringbuffer/frontend.h>
#include <lttng/events.h>
#include <ringbuffer/backend.h>
#include <ringbuffer/frontend.h>
#include <lttng/events.h>
+#include <lttng/events-internal.h>
#include <lttng/tracer.h>
#include <lttng/endian.h>
#include "wrapper/vmalloc.h"
#include <lttng/tracer.h>
#include <lttng/endian.h>
#include "wrapper/vmalloc.h"
@@
-90,9
+91,9
@@
error_alloc:
}
static
}
static
-void lttng_callstack_sequence_destroy(
struct lttng_kernel_ctx_field *field
)
+void lttng_callstack_sequence_destroy(
void *priv
)
{
{
- struct field_data *fdata =
field->
priv;
+ struct field_data *fdata = priv;
field_data_free(fdata);
}
field_data_free(fdata);
}
@@
-158,7
+159,7
@@
int __lttng_add_callstack_generic(struct lttng_kernel_ctx **ctx,
}
memset(&ctx_field, 0, sizeof(ctx_field));
ctx_field.event_field = event_fields[0];
}
memset(&ctx_field, 0, sizeof(ctx_field));
ctx_field.event_field = event_fields[0];
- ctx_field.get_size
_arg
= lttng_callstack_length_get_size;
+ ctx_field.get_size = lttng_callstack_length_get_size;
ctx_field.record = lttng_callstack_length_record;
ctx_field.priv = fdata;
ret = lttng_kernel_context_append(ctx, &ctx_field);
ctx_field.record = lttng_callstack_length_record;
ctx_field.priv = fdata;
ret = lttng_kernel_context_append(ctx, &ctx_field);
@@
-169,7
+170,7
@@
int __lttng_add_callstack_generic(struct lttng_kernel_ctx **ctx,
memset(&ctx_field, 0, sizeof(ctx_field));
ctx_field.event_field = event_fields[1];
memset(&ctx_field, 0, sizeof(ctx_field));
ctx_field.event_field = event_fields[1];
- ctx_field.get_size
_arg
= lttng_callstack_sequence_get_size;
+ ctx_field.get_size = lttng_callstack_sequence_get_size;
ctx_field.record = lttng_callstack_sequence_record;
ctx_field.destroy = lttng_callstack_sequence_destroy;
ctx_field.priv = fdata;
ctx_field.record = lttng_callstack_sequence_record;
ctx_field.destroy = lttng_callstack_sequence_destroy;
ctx_field.priv = fdata;
This page took
0.02427 seconds
and
4
git commands to generate.