Skip to content

Commit

Permalink
Merge pull request #619 from poliorcetics/relax-ordering-probe-alias
Browse files Browse the repository at this point in the history
fix: Relax unnecessarily strict atomic ordering on probe event_alias
  • Loading branch information
alessandrod authored Jun 1, 2023
2 parents d56ed8f + 243986c commit 37b7c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aya/src/programs/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn create_probe_event(
probe_type_prefix,
fn_name,
offset,
PROBE_NAME_INDEX.fetch_add(1, Ordering::SeqCst)
PROBE_NAME_INDEX.fetch_add(1, Ordering::AcqRel)
);
let offset_suffix = match kind {
KProbe => format!("+{offset}"),
Expand Down

0 comments on commit 37b7c1e

Please sign in to comment.