all-nighter (n.)

1930, "person who stays up all night," later "incident of staying up all night," from the adverbial phrase; see all + night.