projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing x86 mmutrace kernel header include
[lttng-modules.git]
/
lttng-context-hostname.c
diff --git
a/lttng-context-hostname.c
b/lttng-context-hostname.c
index 6dc14f9c1cfef5930059172d21ed0ed0fa6f61e0..15aabe63c3f18bb31800f9b7ed61fc14dd6a859d 100644
(file)
--- a/
lttng-context-hostname.c
+++ b/
lttng-context-hostname.c
@@
-81,7
+81,7
@@
int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx)
field->event_field.type.u.array.elem_type.atype = atype_integer;
field->event_field.type.u.array.elem_type.u.basic.integer.size = sizeof(char) * CHAR_BIT;
field->event_field.type.u.array.elem_type.u.basic.integer.alignment = lttng_alignof(char) * CHAR_BIT;
field->event_field.type.u.array.elem_type.atype = atype_integer;
field->event_field.type.u.array.elem_type.u.basic.integer.size = sizeof(char) * CHAR_BIT;
field->event_field.type.u.array.elem_type.u.basic.integer.alignment = lttng_alignof(char) * CHAR_BIT;
- field->event_field.type.u.array.elem_type.u.basic.integer.signedness = is_signed_type(char);
+ field->event_field.type.u.array.elem_type.u.basic.integer.signedness =
lttng_
is_signed_type(char);
field->event_field.type.u.array.elem_type.u.basic.integer.reverse_byte_order = 0;
field->event_field.type.u.array.elem_type.u.basic.integer.base = 10;
field->event_field.type.u.array.elem_type.u.basic.integer.encoding = lttng_encode_UTF8;
field->event_field.type.u.array.elem_type.u.basic.integer.reverse_byte_order = 0;
field->event_field.type.u.array.elem_type.u.basic.integer.base = 10;
field->event_field.type.u.array.elem_type.u.basic.integer.encoding = lttng_encode_UTF8;
@@
-89,6
+89,7
@@
int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx)
field->get_size = hostname_get_size;
field->record = hostname_record;
field->get_size = hostname_get_size;
field->record = hostname_record;
+ lttng_context_update(*ctx);
wrapper_vmalloc_sync_all();
return 0;
}
wrapper_vmalloc_sync_all();
return 0;
}
@@
-97,3
+98,7
@@
EXPORT_SYMBOL_GPL(lttng_add_hostname_to_ctx);
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers");
MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers");
MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support");
+MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
+ __stringify(LTTNG_MODULES_MINOR_VERSION) "."
+ __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
+ LTTNG_MODULES_EXTRAVERSION);
This page took
0.023071 seconds
and
4
git commands to generate.