/* Constructor variant for modules (where we know from /proc/modules where they are loaded) and for vmlinux, where only after we load all the symbols we'll know where it starts and ends.  */
static struct map * map__new2(u64 start, struct dso *dso, enum map_type type)
/* Constructor variant for modules (where we know from /proc/modules where they are loaded) and for vmlinux, where only after we load all the symbols we'll know where it starts and ends.  */
static struct map * map__new2(u64 start, struct dso *dso, enum map_type type)
{
	struct map *self = malloc(sizeof(*self));
	if (self != NULL) {
		map__init(self, type, start, 0, 0, dso);
	}
	return self;
}