projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.9.9
[lttng-modules.git]
/
lttng-probes.c
diff --git
a/lttng-probes.c
b/lttng-probes.c
index dd2b2ce79c17f3cf6a2d986be702f2a57ebee806..51b0f8652a297eee9bb5d7a15df443972732f595 100644
(file)
--- a/
lttng-probes.c
+++ b/
lttng-probes.c
@@
-44,6
+44,10
@@
static LIST_HEAD(lazy_probe_init);
*/
static int lazy_nesting;
*/
static int lazy_nesting;
+DEFINE_PER_CPU(struct lttng_dynamic_len_stack, lttng_dynamic_len_stack);
+
+EXPORT_PER_CPU_SYMBOL_GPL(lttng_dynamic_len_stack);
+
/*
* Called under sessions lock.
*/
/*
* Called under sessions lock.
*/
@@
-322,3
+326,12
@@
const struct file_operations lttng_tracepoint_list_fops = {
.llseek = seq_lseek,
.release = seq_release,
};
.llseek = seq_lseek,
.release = seq_release,
};
+
+int lttng_probes_init(void)
+{
+ int cpu;
+
+ for_each_possible_cpu(cpu)
+ per_cpu_ptr(<tng_dynamic_len_stack, cpu)->offset = 0;
+ return 0;
+}
This page took
0.027768 seconds
and
4
git commands to generate.