message: support reduced set of metrics with 2 gen counters on some arch
diff: @@ -2616,7 +2616,16 @@ PCM::ErrorCode PCM::program(const PCM::ProgramMode mode_, const void * parameter
  coreEventDesc[2].umask_value = SKL_MEM_LOAD_RETIRED_L2_MISS_UMASK;
  coreEventDesc[3].event_number = SKL_MEM_LOAD_RETIRED_L2_HIT_EVTNR;
  coreEventDesc[3].umask_value = SKL_MEM_LOAD_RETIRED_L2_HIT_UMASK;
  - if (core_gen_counter_num_max == 3)
  + if (core_gen_counter_num_max == 2)
  + {
  + L3CacheHitRatioAvailable = true;
  + L3CacheMissesAvailable = true;
  + L3CacheHitsSnoopAvailable = true;
  + L3CacheHitsAvailable = true;
  + core_gen_counter_num_used = 2;
  + break;
  + }
  + else if (core_gen_counter_num_max == 3)
  {
  L3CacheHitRatioAvailable = true;
  L3CacheMissesAvailable = true;
  