Default [Q] root xperia z c6616?

im trying to root my xperia z c6616. i tried to sync my ps3 controller but my phone tells me to make sure my phone is rooted. can someone give me a helping hand?