#include <pthread.h>
#include <stdlib.h>
#include <windows.h>
-#include <babeltrace/compat/mman-internal.h>
+#include <babeltrace2/compat/mman-internal.h>
struct mmap_mapping {
/* The duplicated handle. */
}
/* Add the new mapping to the hashtable. */
- if (!g_hash_table_insert(mmap_mappings, mapping_addr, mapping)) {
- BT_LOGF_STR("Failed to insert mapping in the hashtable.");
- abort();
- }
+ g_hash_table_insert(mmap_mappings, mapping_addr, mapping);
mmap_unlock();