+ } else if (event_class->name == debug_info->q_dl_open ||
+ event_class->name == debug_info->q_lib_load) {
+ /*
+ * dl_open and lib_load events are both checked for since
+ * only dl_open was produced as of lttng-ust 2.8.
+ *
+ * lib_load, which is produced from lttng-ust 2.9+, is a lot
+ * more reliable since it will be emitted when other functions
+ * of the dlopen family are called (e.g. dlmopen) and when
+ * library are transitively loaded.
+ */