projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update: kvm instrumentation for ubuntu 4.13.0-38
[lttng-modules.git]
/
lttng-tracker-pid.c
diff --git
a/lttng-tracker-pid.c
b/lttng-tracker-pid.c
index eeee9d55a5b844106178d5186c37ef61012aa2e3..02b15c42697b2123595883b1704320cc6275bf70 100644
(file)
--- a/
lttng-tracker-pid.c
+++ b/
lttng-tracker-pid.c
@@
-28,9
+28,10
@@
#include <linux/hash.h>
#include <linux/rcupdate.h>
#include <linux/hash.h>
#include <linux/rcupdate.h>
-#include "wrapper/tracepoint.h"
-#include "wrapper/list.h"
-#include "lttng-events.h"
+#include <wrapper/tracepoint.h>
+#include <wrapper/rcu.h>
+#include <wrapper/list.h>
+#include <lttng-events.h>
/*
* Hash table is allocated and freed when there are no possible
/*
* Hash table is allocated and freed when there are no possible
@@
-59,7
+60,7
@@
bool lttng_pid_tracker_lookup(struct lttng_pid_tracker *lpf, int pid)
uint32_t hash = hash_32(pid, 32);
head = &lpf->pid_hash[hash & (LTTNG_PID_TABLE_SIZE - 1)];
uint32_t hash = hash_32(pid, 32);
head = &lpf->pid_hash[hash & (LTTNG_PID_TABLE_SIZE - 1)];
- lttng_hlist_for_each_entry_rcu
_notrace
(e, head, hlist) {
+ lttng_hlist_for_each_entry_rcu(e, head, hlist) {
if (pid == e->pid)
return 1; /* Found */
}
if (pid == e->pid)
return 1; /* Found */
}
This page took
0.022497 seconds
and
4
git commands to generate.