Implement listing of pid tracker content
[lttng-modules.git] / lttng-tracker-pid.c
index f8f0a51dcc1e738727286b69e28f343ac43476e1..a62ec4e459343ea9ea615f58e78651dd7697a9e9 100644 (file)
  * sessions_mutex across calls to create, destroy, add, and del
  * functions of this API.
  */
-struct lttng_pid_hash_node {
-       struct hlist_node hlist;
-       int pid;
-};
+int lttng_pid_tracker_get_node_pid(const struct lttng_pid_hash_node *node)
+{
+       return node->pid;
+}
 
 /*
  * Lookup performed from RCU read-side critical section (RCU sched),
This page took 0.03686 seconds and 4 git commands to generate.