code: func RegisterTable(tableName, sql string,
  	tableFromMeta func(autoid.Allocator, *model.TableInfo) (table.Table, error)) {
  	perfSchemaTables = append(perfSchemaTables, sql)
  	pluginTable[tableName] = tableFromMeta
  }
docs: // RegisterTable registers a new table into TiDB.