trace: make alloc trace work for miniobject again