code: public static String getDataName(String moduleName, int dataId) {
          PmiModuleConfig config = PerfModules.getConfig(moduleName);
          if (config == null)
              return null;
  
          PmiDataInfo info = config.getDataInfo(dataId);
          if (info == null)
              return null;
          else
              return info.getName();
      }
docs: Convert data id to data name