rapl_read_data_raw
if (!rapl_read_data_raw(&rp->domains[dmn], prim,
ret = rapl_read_data_raw(&rp->domains[event->hw.idx], ENERGY_COUNTER, false, &val, true);
static int rapl_read_data_raw(struct rapl_domain *rd,
if (!rapl_read_data_raw(rd, ENERGY_COUNTER, true, &energy_now, false)) {
return rapl_read_data_raw(rd, prim, xlate, data, false);