Skip to content

Commit

Permalink
add support for Icelake based AWS instances
Browse files Browse the repository at this point in the history
  • Loading branch information
karanrk committed Apr 28, 2022
1 parent c91dab9 commit ec46b7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ build/collect:
--add-data "./events/clx.txt:." \
--add-data "./events/clx_aws.txt:." \
--add-data "./events/icx.txt:." \
--add-data "./events/icx_aws.txt:." \
--add-binary "../build/pmu-checker:." \
--runtime-tmpdir .
cp $(TMPDIR)/dist/$(BINARY_COLLECT) build/
Expand Down
1 change: 1 addition & 0 deletions Makefile_non_container
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ build/collect:
--add-data "./events/clx.txt:." \
--add-data "./events/clx_aws.txt:." \
--add-data "./events/icx.txt:." \
--add-data "./events/icx_aws.txt:." \
--add-binary "./build/pmu-checker:." \
--runtime-tmpdir .
rm -rf build/$(BINARY_COLLECT)
Expand Down
2 changes: 2 additions & 0 deletions perf-collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ def is_safe_file(fname, substr):
eventfile = "clx_aws.txt"
elif arch == "icelake":
eventfile = "icx.txt"
if args.cloud in ("aws", "AWS") and args.cloudtype in ("VM", "vm"):
eventfile = "icx_aws.txt"
else:
raise SystemExit(
"Unsupported architecture (currently supports Broadwell, Skylake, CascadeLake and Icelake Intel Xeon processors)"
Expand Down

0 comments on commit ec46b7b

Please sign in to comment.