fix: Relax unnecessarily strict atomic ordering on probe event_alias

pull/619/head
Alexis (Poliorcetics) Bourget 1 year ago
parent d56ed8fd68
commit 243986c1da

@ -166,7 +166,7 @@ fn create_probe_event(
probe_type_prefix, probe_type_prefix,
fn_name, fn_name,
offset, offset,
PROBE_NAME_INDEX.fetch_add(1, Ordering::SeqCst) PROBE_NAME_INDEX.fetch_add(1, Ordering::AcqRel)
); );
let offset_suffix = match kind { let offset_suffix = match kind {
KProbe => format!("+{offset}"), KProbe => format!("+{offset}"),

Loading…
Cancel
Save