Merge pull request #619 from poliorcetics/relax-ordering-probe-alias

fix: Relax unnecessarily strict atomic ordering on probe event_alias
pull/621/head
Alessandro Decina 1 year ago committed by GitHub
commit 37b7c1e614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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