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

Run multiarch builds natively rather than via QEMU #1479

Closed
wants to merge 100 commits into from

Commits on Jan 3, 2024

  1. Use vanilla Falco

    This change makes it so collector compiles and runs using upstream Falco
    directly. There are a few minor tweaks still required in Falco itself,
    but they are things that are either on their way to upstream or should
    be real ease to upstream.
    
    List of changes needed for vanilla to be compatible:
    - Remove sinsp-wrapper and link directly to sinsp.
    - Remove sinsp_filter_check_iface in favor of sinsp_filter_check.
    - Use MINIMAL_BUILD instead of MINIMAL_BUILD_WITH_EBPF.
    - Remove g_bpf_drop_syscalls.
    - eBPF probe is compiled directly instead of via cmake.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    02c1229 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    150ad1a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cba7ad View commit details
    Browse the repository at this point in the history
  4. Cleanups + use falco 0.13.1

    Add uthash submodule
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    50c0eab View commit details
    Browse the repository at this point in the history
  5. Move filtering higher in the chain

    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    360c9fc View commit details
    Browse the repository at this point in the history
  6. Mounts /sys/kernel/debug directly

    Fix locations for BTF symbols
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    8be9e85 View commit details
    Browse the repository at this point in the history
  7. Prevent unnecessary string copies

    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    3db1e67 View commit details
    Browse the repository at this point in the history
  8. Socket only fd

    Configure build process to enable socket only fd optimization
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    aeed652 View commit details
    Browse the repository at this point in the history
  9. Specify interesting_subsys

    As an optimization, use only a certain subset of cgroup subsystems.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    7264dc2 View commit details
    Browse the repository at this point in the history
  10. Skip some cgroups to avoid overhead

    It could be expesinve to pass large cgroup names from the kernel to user
    space.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    9f2be56 View commit details
    Browse the repository at this point in the history
  11. Use precompiled builder for speeeeeeed

    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    5e3520a View commit details
    Browse the repository at this point in the history
  12. Point to the latest Falco

    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    e07c365 View commit details
    Browse the repository at this point in the history
  13. Build builder image

    Needed to include the arm64 builder image
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    d77321f View commit details
    Browse the repository at this point in the history
  14. Explicitly add procexit event

    One side effect of [1] is that procexit is not included by default
    any more if ppm_sc is not empty. Which means to continue receiving
    procexit we need to explicitly add it into the list of interesting
    events. procexit is essential for memory management, as its handlers
    perform threadinfo cache clean up.
    
    [1]: falcosecurity/libs#1001
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    5161388 View commit details
    Browse the repository at this point in the history
  15. Assert logging

    Turn on Falco assert logging for all build types. Make _DEBUG dependent
    on the Debug build type, it would impact asserts logic when asserts
    logging is disabled.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    4a445d8 View commit details
    Browse the repository at this point in the history
  16. Fix exit code in the debug mode

    If CMAKE_BUILD_TYPE is debug, the condition for stripping the binary is
    not invoked, and the resulting exit code is 1, stopping the build.
    Ignore this branch and return exit code 0.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    08f1f2e View commit details
    Browse the repository at this point in the history
  17. Fix falco main commit

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    61f438b View commit details
    Browse the repository at this point in the history
  18. Use vanilla Falco

    This change makes it so collector compiles and runs using upstream Falco
    directly. There are a few minor tweaks still required in Falco itself,
    but they are things that are either on their way to upstream or should
    be real ease to upstream.
    
    List of changes needed for vanilla to be compatible:
    - Remove sinsp-wrapper and link directly to sinsp.
    - Remove sinsp_filter_check_iface in favor of sinsp_filter_check.
    - Use MINIMAL_BUILD instead of MINIMAL_BUILD_WITH_EBPF.
    - Remove g_bpf_drop_syscalls.
    - eBPF probe is compiled directly instead of via cmake.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    c0c3ba0 View commit details
    Browse the repository at this point in the history
  19. Cleanups + use falco 0.13.1

    Add uthash submodule
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    374caac View commit details
    Browse the repository at this point in the history
  20. Cleanups + use falco 0.13.1

    Add uthash submodule
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    b1025af View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    389b3e1 View commit details
    Browse the repository at this point in the history
  22. Rename multiarch-integration-tests to s390x-integration-tests, for si…

    …mplification and clarity
    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    57c15e8 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    8b6567b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8d5022f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    061c960 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    bb44aa3 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    b07e589 View commit details
    Browse the repository at this point in the history
  28. Dont forget the semicolon

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    2cc5c2e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    6ddc1f7 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    8b64483 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    0259abc View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    829a978 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    af11518 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    86b3670 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    d441b5b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    35e503f View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a3b1afa View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ac25909 View commit details
    Browse the repository at this point in the history
  39. What an embarassing typo

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    bed285b View commit details
    Browse the repository at this point in the history
  40. Enable modern bpf everywhere

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    8e2594a View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    98ba030 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    d9aac63 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    c8131b0 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    b05e842 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    ad2096f View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    113b2cb View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    55971b0 View commit details
    Browse the repository at this point in the history
  48. Hardcode ssh paths (temp)

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    60d382a View commit details
    Browse the repository at this point in the history
  49. I dont want to talk about it

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    5d7da31 View commit details
    Browse the repository at this point in the history
  50. Auth with GCP

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    b7ac88b View commit details
    Browse the repository at this point in the history
  51. Fix inventory downloading

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    ec104e6 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    fdf4225 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    2eb6aa1 View commit details
    Browse the repository at this point in the history
  54. Fix GCP ssh key file

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    47381d2 View commit details
    Browse the repository at this point in the history
  55. Use VM_TYPE for build VMs

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    4e981e6 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    99b9913 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    33020f0 View commit details
    Browse the repository at this point in the history
  58. Adds refspec for git clone

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    5aca66c View commit details
    Browse the repository at this point in the history
  59. Env fixes for VM destruction

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    ccbdfc6 View commit details
    Browse the repository at this point in the history
  60. Fix git ref in builder build

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    abff0bb View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    5bb5308 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    25dc68b View commit details
    Browse the repository at this point in the history
  63. Bump ibm disk size for CI

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    55bd76a View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    86b4032 View commit details
    Browse the repository at this point in the history
  65. typo

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    90eedf1 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    b29ddfe View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    9cc4289 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    c406b5a View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    4618253 View commit details
    Browse the repository at this point in the history
  70. Fix build hosts

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    050b8eb View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    2bff037 View commit details
    Browse the repository at this point in the history
  72. Fix GCP ssh key file

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    6f685f1 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    c2b1421 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    2631830 View commit details
    Browse the repository at this point in the history
  75. Fix ibm_env default

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    c81c566 View commit details
    Browse the repository at this point in the history
  76. Fix amd64 vm creation

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    85a34c4 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    26ab212 View commit details
    Browse the repository at this point in the history
  78. Remove CMake Cache upload

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    44f93f2 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    b8b1b67 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    dc521ae View commit details
    Browse the repository at this point in the history
  81. Use vanilla Falco

    This change makes it so collector compiles and runs using upstream Falco
    directly. There are a few minor tweaks still required in Falco itself,
    but they are things that are either on their way to upstream or should
    be real ease to upstream.
    
    List of changes needed for vanilla to be compatible:
    - Remove sinsp-wrapper and link directly to sinsp.
    - Remove sinsp_filter_check_iface in favor of sinsp_filter_check.
    - Use MINIMAL_BUILD instead of MINIMAL_BUILD_WITH_EBPF.
    - Remove g_bpf_drop_syscalls.
    - eBPF probe is compiled directly instead of via cmake.
    erthalion authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    b60f0d7 View commit details
    Browse the repository at this point in the history
  82. Cleanups + use falco 0.13.1

    Add uthash submodule
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    1b0ca88 View commit details
    Browse the repository at this point in the history
  83. Cleanups + use falco 0.13.1

    Add uthash submodule
    Molter73 authored and Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    8e68248 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    6428f9e View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    a0323f3 View commit details
    Browse the repository at this point in the history
  86. Fix inventory downloading

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    a14b448 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    a7fad27 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    01b5708 View commit details
    Browse the repository at this point in the history
  89. Forgot fcarm key

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    3a77db0 View commit details
    Browse the repository at this point in the history
  90. Switch to RHEL for arm

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    9ada78d View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    f0622db View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    9f7f9c0 View commit details
    Browse the repository at this point in the history
  93. Missed pi_image

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    9c95e0c View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    5e26ee8 View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    a2aac51 View commit details
    Browse the repository at this point in the history
  96. Better fix for private key

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    1992835 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    442432c View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    b0ba0ef View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    fcb1444 View commit details
    Browse the repository at this point in the history
  100. Fix VM workflow use

    Stringy committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    55aa21c View commit details
    Browse the repository at this point in the history