Giter VIP home page Giter VIP logo

ci-kernels's Introduction

ci-kernels

A collection of kernels used for CI builds.

  1. Update kernel versions in versions.json
  2. Commit and make a PR.

You can approximate CI by running buildx.sh:

$ ./buildx.sh 6.1 amd64 vmlinux --tag foo:vmlinux

Updating versions

Use update-version.sh (requires jq):

./update-versions.sh

Updating the configuration

The configuration consists of common options in config and platform specific options in config-arm64 and config-x64_64.

To add a new config option:

  1. Try adding it to config (keep sorted alphabetically)
  2. In a checkout of the Linux source code:
    TARGETPLATFORM=linux/arm64 /path/to/configure-vmlinux.sh
  3. If any symbols are missing you can now run make menuconfig and search for the missing symbols. Figure out which dependencies are missing and add them to the config as well.

Add the config to the arch specific files if it isn't available in general.

Updating the builder

The builder image is still built manually.

  1. make image
  2. make push
  3. Add files, commit and make a PR.

ci-kernels's People

Contributors

florianl avatar hemanthmalla avatar lmb avatar mmat11 avatar nplanel avatar rgo3 avatar ti-mo avatar tklauser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ci-kernels's Issues

Explicitly enable kprobes and uprobes in kernel builds

Following cilium/ebpf#279 (comment).

In 4.10, UPROBE_EVENT was disabled by default: https://elixir.bootlin.com/linux/v4.10.17/source/kernel/trace/Kconfig#L450
In 4.11, UPROBE_EVENT was renamed to UPROBE_EVENTS: https://elixir.bootlin.com/linux/v4.11.12/source/kernel/trace/Kconfig#L450
In 4.12, UPROBE_EVENTS was enabled by default: https://elixir.bootlin.com/linux/v4.12.14/source/kernel/trace/Kconfig#L451

These should be enabled for all our CI kernels.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.