Add a switch for perfschema and disable it by default. You can enable perfschema by set tidb-server flag.