In the function set_arch_event_attrs in _/lib/perfmonitoring.c (Line 236), under the section "set LLC references event attributes" (Line 256-258) the index of the tab should be OS_MON_EVT_IDX_LLC_REF instead of OS_MON_EVT_IDX_LLC_MISS. changing it solve the problem of bad metrics given by the monitoring of LLC references.
In the function set_arch_event_attrs in _/lib/perfmonitoring.c (Line 236), under the section "set LLC references event attributes" (Line 256-258) the index of the tab should be OS_MON_EVT_IDX_LLC_REF instead of OS_MON_EVT_IDX_LLC_MISS. changing it solve the problem of bad metrics given by the monitoring of LLC references.