In case of a revocation of a suspension, the costs of the revocation shall be adjudged against the defendant, and the defendant shall be required to pay or secure the costs; provided, that no state and county tax nor attorney general's fee shall accrue upon hearings for the purpose of revoking the suspension. In case the suspension is not revoked upon the hearing, the costs shall be taxed against the county, if the defendant was originally convicted of a misdemeanor, and against the state, if originally convicted of a felony; provided, that, if the trial judge is of the opinion that the proceedings for revocation are not made in good faith, the judge shall have the power to disallow all the costs of the case or, in the alternative, to tax them against the party making the charges against the defendant.
T.C.A. § 40-35-312