Skip to content

Commit

Permalink
fix script name collision
Browse files Browse the repository at this point in the history
  • Loading branch information
harp-intel committed Jan 24, 2025
1 parent 2016a3c commit 0666293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metrics/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ func getSupportsFixedEvent(myTarget target.Target, event string, uarch string, n
eventList = append(eventList, event)
}
scriptDef := script.ScriptDefinition{
Name: "perf stat " + event,
Name: "perf stat fixed" + event,
Script: perfPath + " stat -a -e '{" + strings.Join(eventList, ",") + "}' sleep 1",
Superuser: !noRoot,
}
Expand Down

0 comments on commit 0666293

Please sign in to comment.