Skip to content

Add support for aarch64 - #77

Open
Alex Mihaiuc (foxmsft) wants to merge 1 commit into
microsoft:mainfrom
foxmsft:foxmsft/aarch64-enablement
Open

Add support for aarch64#77
Alex Mihaiuc (foxmsft) wants to merge 1 commit into
microsoft:mainfrom
foxmsft:foxmsft/aarch64-enablement

Conversation

@foxmsft

Copy link
Copy Markdown

This enables the aarch64 platform for ARM64 processors.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread sysinternalsEBPFshared.h
Comment on lines +35 to +37
#ifndef EBPF_CO_RE
#include <stdint.h>
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants