Add support for aarch64 - #77
Open
Alex Mihaiuc (foxmsft) wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds aarch64 build, runtime, syscall, installation, and packaging support.
Changes:
- Adds architecture-aware CMake and cross-compilation support.
- Makes syscall mappings portable across x86_64 and aarch64.
- Updates installers, packages, dependencies, and build documentation.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
telemetryLoader.c |
Safely handles architecture-specific syscall gaps. |
sysinternalsEBPFshared.h |
Adjusts integer-type inclusion for CO-RE. |
sysinternalsEBPF.h |
Derives the syscall limit from array size. |
syscalls.h |
Uses architecture-specific syscall constants. |
package/DEBIAN.in/control.in |
Adds dynamic architecture and dependency alternatives. |
makePackages.sh |
Produces architecture-specific DEB/RPM packages. |
libsysinternalsEBPFinstaller.c |
Selects the aarch64 library directory. |
libsysinternalsEBPF.h |
Expands and centralizes syscall limits. |
installer.c |
Uses the portable fcntl.h include. |
ebpfKern/sysinternalsEBPF_common.h |
Adds arm64 register layouts and syscall accessors. |
CMakeLists.txt |
Adds target detection and cross-build configuration. |
cmake/aarch64-linux-gnu.cmake |
Defines the aarch64 cross-compilation toolchain. |
BUILD.md |
Documents aarch64 cross-building and installation. |
.container/install-ubuntu-dependencies.sh |
Makes the i386 dependency architecture-specific. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+35
to
+37
| #ifndef EBPF_CO_RE | ||
| #include <stdint.h> | ||
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This enables the aarch64 platform for ARM64 processors.