Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LoongArch support #337

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add LoongArch support #337

wants to merge 3 commits into from

Conversation

chenhengqi
Copy link

No description provided.

Update libbpf to its latest release, which contains
support for LoongArch.

Signed-off-by: Hengqi Chen <[email protected]>
The vmlinux.h is generated on Linux v6.7. This enables
building kprobe_pwru on LoongArch.

Signed-off-by: Hengqi Chen <[email protected]>
With this change, we can now build pwru on LoongArch using:
    $ make TARGET_GOARCH=loong64 GOARCH=loong64 LIBPCAP_ARCH=

Signed-off-by: Hengqi Chen <[email protected]>
@chenhengqi chenhengqi requested a review from a team as a code owner March 2, 2024 09:02
@chenhengqi chenhengqi requested review from jschwinger233 and removed request for a team March 2, 2024 09:02
Copy link
Member

@jschwinger233 jschwinger233 left a comment

Choose a reason for hiding this comment

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

Thanks! Do you also want to generate loongarch binary on release? (then you can download pre-compiled pwru from https://github.com/cilium/pwru/releases/) If so, some minor changes on Makefile (local-release) shall be made.

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