The past tense of get a whiff of is got a whiff of.
The third-person singular simple present indicative form of get a whiff of is gets a whiff of.
The present participle of get a whiff of is getting a whiff of.
The past participle of get a whiff of is gotten a whiff of.