-
- if (!app->compatible ||
- !trace_ust_pid_tracker_lookup(usess, app->pid)) {
+ bool present_in_tracker =
+ trace_ust_id_tracker_lookup(LTTNG_TRACKER_VPID,
+ usess, app->pid) &&
+ trace_ust_id_tracker_lookup(LTTNG_TRACKER_VUID,
+ usess, app->uid) &&
+ trace_ust_id_tracker_lookup(LTTNG_TRACKER_VGID,
+ usess, app->gid);
+
+ if (!app->compatible || !(present_in_tracker)) {
+ /*
+ * This is probably an error this MUST BE TESTED
+ * Introduced by
+ * 88e3c2f5610b9ac89b0923d448fee34140fc46fb On app not
+ * in tracker we should skip it. not sure what to do on
+ * app !compatible
+ */