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

new: driver selection logic #484

Merged
merged 8 commits into from
Mar 25, 2024
Merged

new: driver selection logic #484

merged 8 commits into from
Mar 25, 2024

Commits on Mar 20, 2024

  1. new(cmd,internal,pkg): added support for driver automatic selection l…

    …ogic.
    
    `Driver.Type` will now be a slice in config.
    Then, cmd/driver_linux will take care of discovering,
    given the list of allowed driver types loaded from the config,
    the correct driver to be used.
    
    This has multple consequencies:
    * enforcing a single `--type` works like the existing behavior
    * allowed driver types are in descending priority order
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    7075209 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. chore(pkg/driver): COS does only support ebpf probes.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    67d03c7 View commit details
    Browse the repository at this point in the history
  2. chore(cmd/driver,pkg/driver): use cilium/ebpf library to check for mo…

    …dern bpf support.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    3047ce4 View commit details
    Browse the repository at this point in the history
  3. chore(cmd/driver,pkg/driver): only load distro and kernelrelease in c…

    …md/driver_linux root command.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    73efa99 View commit details
    Browse the repository at this point in the history
  4. chore(cmd,pkg): fixed tests and linter.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    b63c0f8 View commit details
    Browse the repository at this point in the history
  5. chore(pkg/driver): less verbose ProgramSpec for modern bpf Tracing pr…

    …ogram type check.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    9458932 View commit details
    Browse the repository at this point in the history
  6. chore(pkg/driver/kernel): moved driverkernel FetchInfo to linux only …

    …version.
    
    Moreover, added a version for others OS.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    2a56cf9 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. chore(cmdk,pkg,internal): bump copyright year for all touched files.

    Also, allow `FetchInfo` to override kernelrelease/version if only one of them is enforced.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    2f91849 View commit details
    Browse the repository at this point in the history