What does it mean to smell the chicken dancing?

Zu Ti and Liu Kun in Jin Dynasty are the protagonists in Smelling Chicken Dancing. Liu Kun was a famous writer, politician and strategist in Jin Dynasty. Zu Ti, the general of the Eastern Jin Dynasty, was very ambitious. He and his good friend Liu Kun are always impassioned when they talk about the current situation. Hearing the cock crow in the middle of the night, he drew his sword and practiced martial arts hard. The original intention of smelling chickens dancing is to get up and dance swords when they hear chickens crowing. Later, it is likened to people who are interested in serving the country getting up at once.