projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement cpu_id context for filtering
[lttng-modules.git]
/
lttng-context.c
diff --git
a/lttng-context.c
b/lttng-context.c
index d8ce9770b82e8dd104bb48daafbf8e6a7549b6bb..eca58ce1873b3ab18c25001ac362a086dda6ecbd 100644
(file)
--- a/
lttng-context.c
+++ b/
lttng-context.c
@@
-264,6
+264,10
@@
int lttng_context_init(void)
if (ret) {
printk(KERN_WARNING "Cannot add context lttng_add_vpid_to_ctx");
}
if (ret) {
printk(KERN_WARNING "Cannot add context lttng_add_vpid_to_ctx");
}
+ ret = lttng_add_cpu_id_to_ctx(<tng_static_ctx);
+ if (ret) {
+ printk(KERN_WARNING "Cannot add context lttng_add_cpu_id_to_ctx");
+ }
/* TODO: perf counters for filtering */
return 0;
}
/* TODO: perf counters for filtering */
return 0;
}
This page took
0.024239 seconds
and
4
git commands to generate.