projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Revert "KVM: MMU: show mmu_valid_gen..." (v5.1)
[lttng-modules.git]
/
lttng-tracepoint.c
diff --git
a/lttng-tracepoint.c
b/lttng-tracepoint.c
index 7a50dd281632e7e5df45afb6379ee600bcc7e72e..4cfec38502f54fe74de19c13ad8e8b8a1694d6f6 100644
(file)
--- a/
lttng-tracepoint.c
+++ b/
lttng-tracepoint.c
@@
-30,6
+30,7
@@
#include <lttng-tracepoint.h>
#include <wrapper/list.h>
#include <lttng-tracepoint.h>
#include <wrapper/list.h>
+#include <wrapper/tracepoint.h>
/*
* Protect the tracepoint table. lttng_tracepoint_mutex nests within
/*
* Protect the tracepoint table. lttng_tracepoint_mutex nests within
@@
-241,7
+242,7
@@
int lttng_tracepoint_coming(struct tp_module *tp_mod)
struct tracepoint_entry *e;
struct lttng_tp_probe *p;
struct tracepoint_entry *e;
struct lttng_tp_probe *p;
- tp =
tp_mod->mod->tracepoints_ptrs[i]
;
+ tp =
lttng_tracepoint_ptr_deref(&tp_mod->mod->tracepoints_ptrs[i])
;
e = get_tracepoint(tp->name);
if (!e) {
e = add_tracepoint(tp->name);
e = get_tracepoint(tp->name);
if (!e) {
e = add_tracepoint(tp->name);
@@
-282,7
+283,7
@@
int lttng_tracepoint_going(struct tp_module *tp_mod)
struct tracepoint_entry *e;
struct lttng_tp_probe *p;
struct tracepoint_entry *e;
struct lttng_tp_probe *p;
- tp =
tp_mod->mod->tracepoints_ptrs[i]
;
+ tp =
lttng_tracepoint_ptr_deref(&tp_mod->mod->tracepoints_ptrs[i])
;
e = get_tracepoint(tp->name);
if (!e || !e->tp)
continue;
e = get_tracepoint(tp->name);
if (!e || !e->tp)
continue;
This page took
0.024303 seconds
and
4
git commands to generate.