Given how often violence is started by police officers, I wouldn't jump to this conclusion. False flag operations also occur, in order to being about exactly the sentiment you're expressing.
Additionally, in the age of camera phones and live streaming, the best place to fight/resist cops is in court and not the street. Your chances of success are far greater. I would hope UC Berkeley students would know this.