Skip to content

Commit

Permalink
Merge pull request #7208 from knn-k/aarch64trcformat
Browse files Browse the repository at this point in the history
Add AArch64 to UtProcessorInfo
  • Loading branch information
babsingh committed Dec 18, 2023
2 parents 82956e0 + 48f551e commit 7a7426b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include_core/ute_dataformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ typedef enum {
UT_TREX,
UT_OPTERON,
UT_RV64G,
UT_ARMV8A,
UT_SUBTYPE_FORCE_INTEGER = INT_MAX
} UtSubtype;

Expand Down Expand Up @@ -147,6 +148,7 @@ typedef enum {
UT_S390X,
UT_AMD64,
UT_RISCV,
UT_AARCH64,
UT_ARCHITECTURE_FORCE_INTEGER = INT_MAX
} UtArchitecture;

Expand Down
3 changes: 3 additions & 0 deletions omrtrace/omrtracelog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,9 @@ getProcessorInfo(void)
} else if (0 == strcmp(osarch, OMRPORT_ARCH_RISCV)) {
ret->architecture = UT_RISCV;
ret->procInfo.subtype = UT_RV64G;
} else if (0 == strcmp(osarch, OMRPORT_ARCH_AARCH64)) {
ret->architecture = UT_AARCH64;
ret->procInfo.subtype = UT_ARMV8A;
} else {
ret->architecture = UT_UNKNOWN;
}
Expand Down

0 comments on commit 7a7426b

Please sign in to comment.