Skip to content

ciqcbr7 9 kabi test #6

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

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build-check_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
kernel-build-job:
runs-on:
labels: kernel-build
labels: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -39,11 +39,16 @@ jobs:
- name: Install tools and Libraries (in chroot)
run: |
sudo chroot centos-7-chroot yum groupinstall 'Development Tools' -y
sudo chroot centos-7-chroot yum install bc dwarves git glibc-devel hostname kernel-devel mpfr openssl openssl-devel elfutils-libelf-devel -y
sudo chroot centos-7-chroot yum install bc dwarves git glibc-devel hostname kernel-devel mpfr openssl openssl-devel elfutils-libelf-devel wget -y

- name: Build the Kernel (in chroot)
run: |
sudo mv kernel-src-tree centos-7-chroot
sudo chroot centos-7-chroot sh -c "cd kernel-src-tree && cp configs/kernel-3.10.0-x86_64.config .config"
sudo chroot centos-7-chroot sh -c "cd kernel-src-tree && make olddefconfig"
sudo chroot centos-7-chroot sh -c "cd kernel-src-tree && make -j$(nproc)"
- name: Check kabi
run: |
sudo chroot centos-7-chroot sh -c "cd kernel-src-tree && wget https://dl.rockylinux.org/vault/centos/7.9.2009/updates/x86_64/Packages/kernel-3.10.0-1160.119.1.el7.src.rpm"
sudo chroot centos-7-chroot sh -c "cd kernel-src-tree && rpm2cpio kernel-3.10.0-1160.119.1.el7.src.rpm | cpio -ivd check-kabi Module.kabi_x86_64"
sudo chroot centos-7-chroot sh -c "cd kernel-src-tree && ./check-kabi -k ./Module.kabi_x86_64 -s Module.symvers"
1 change: 1 addition & 0 deletions include/linux/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ struct perf_event {

struct perf_event *group_leader;
struct pmu *pmu;
unsigned int group_generation;

enum perf_event_active_state state;
unsigned int attach_state;
Expand Down
Loading