Skip to content

setup-build-env: Install pkg-config for bpf selftests traffic monitoring#172

Merged
theihor merged 1 commit intolibbpf:mainfrom
ameryhung:install_pkg-config
Feb 14, 2025
Merged

setup-build-env: Install pkg-config for bpf selftests traffic monitoring#172
theihor merged 1 commit intolibbpf:mainfrom
ameryhung:install_pkg-config

Conversation

@ameryhung
Copy link
Contributor

Install pkg-config in setup-build-env explicitly so that we can build bpf selftests with traffic monitor without depending on the runner. Currently, s390 runner image does not include pkg-config required by bpf selftests traffic monitor. During compile time, the makefile uses pkg-config to check if libpcap is installed and determines if traffic monitoring feature will be compiled into test_progs.

Install pkg-config in setup-build-env explicitly so that we can build bpf
selftests with traffic monitor without depending on the runner. Currently,
s390 runner image does not include pkg-config required by bpf selftests
traffic monitor. During compile time, the makefile uses pkg-config to
check if libpcap is installed and determines if traffic monitoring feature
will be compiled into test_progs.

Signed-off-by: Amery Hung <ameryhung@gmail.com>
@theihor theihor self-requested a review February 14, 2025 23:24
@theihor theihor merged commit 9ce5709 into libbpf:main Feb 14, 2025
16 checks passed
theihor added a commit to kernel-patches/vmtest that referenced this pull request Mar 22, 2025
See libbpf/ci PRs:
* libbpf/ci#168
* libbpf/ci#172
* libbpf/ci#174

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Mar 22, 2025
See libbpf/ci PRs:
* libbpf/ci#168
* libbpf/ci#172
* libbpf/ci#174

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Mar 24, 2025
See libbpf/ci PRs:
* libbpf/ci#168
* libbpf/ci#172
* libbpf/ci#174

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Mar 26, 2025
See libbpf/ci PRs:
* libbpf/ci#168
* libbpf/ci#172
* libbpf/ci#174

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Mar 27, 2025
See libbpf/ci PRs:
* libbpf/ci#168
* libbpf/ci#172
* libbpf/ci#174

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
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