[MemProfile] Add const and static handler