The story
Age and etymology are uncertain; it existed in the 1930s and possibly derives from a music hall catchphrase. Some commentators (e.g. World Wide Words) suggest that piffy may have originally been patience, and the rock bun was simply a type of cake.
Etymology from Wiktionary, CC BY-SA 4.0.