Skip to content

Add s390x architecture support - #19

Open
iii-i wants to merge 1 commit into
YutaroHayakawa:masterfrom
iii-i:s390x
Open

Add s390x architecture support#19
iii-i wants to merge 1 commit into
YutaroHayakawa:masterfrom
iii-i:s390x

Conversation

@iii-i

@iii-i iii-i commented Oct 29, 2025

Copy link
Copy Markdown

There are two things required to run ipftrace2 on s390x. The first one is infrastructure-related: one needs a builder image, which is currently not available on GHCR, but can be generated locally using the following command:

docker build -t ghcr.io/yutarohayakawa/ipftrace2-builder:v0.10.1 .

Second, libbpf wants the __TARGET_ARCH_s390 macro, but $(uname -r) reports "s390x", so apply a fixup just like it's already done for x86_64 -> x86.

There are two things required to run ipftrace2 on s390x. The first one
is infrastructure-related: one needs a builder image, which is
currently not available on GHCR, but can be generated locally using the
following command:

    docker build -t ghcr.io/yutarohayakawa/ipftrace2-builder:v0.10.1 .

Second, libbpf wants the __TARGET_ARCH_s390 macro, but $(uname -r)
reports "s390x", so apply a fixup just like it's already done for
x86_64 -> x86.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
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.

1 participant