0.18.0
v0.18.0
Released on 2024-09-18
Breaking Changes ⚠️
- new(sinsp)!: sinsp::open_plugin now takes a sinsp_plugin_platform instead of sinsp_mode_t [#1969] - @gnosek
- cleanup(sinsp)!: remove static container arguments from sinsp constructor [#2016] - @Molter73
Major Changes
- new(libsinsp): inspector thread pool [#1949] - @mrgian
- new(scap, sinsp): linux_hostinfo platform for use with non-syscall source plugins [#1969] - @gnosek
- new(build): add experimental ThreadSanitizer build [#2014] - @LucaGuerra
- new(libscap): upon detecting ring buffer corruption, an annotated dump of the whole ring buffer will be printed to stderr [#1997] - @gnosek
- new(userpsac/libsinsp): support regular expression operator in sinsp filters [#1904] - @jasondellaluce
- new(libsinsp): add basename() string transformer [#1943] - @LucaGuerra
- new(ci,docs): added heaptrack to our new perf related CI. [#1932] - @FedeDP
- new(ci): added perf CI job around scap file read. [#1924] - @FedeDP
- new(ci): added an initial perf-related CI. [#1918] - @FedeDP
- new: introduce proc.{stdin,stdout,stderr}.{name,type} fields [#1916] - @loresuso
Minor Changes
- cleanup(engines): detach per-cpu kernel metrics from global kernel metrics [#2031] - @Andreagit97
- cleanup(sinsp): add set_static_container method [#2016] - @Molter73
- cleanup(libsinsp): do not crash on g_invalidchar in windows debug builds [#1990] - @LucaGuerra
- Fix a bug in libsinsp::filter::ast::binary_check_expr::is_equal(), where two binary check expressions were considered equal even if they had different operators. For example evt.num >= 0 was mistakenly considered equal to evt.num = 0. [#1952] - @mstemm
- cleanup(libsinsp): introduce param->asstd::string(), add error for unsupported types [#1893] - @LucaGuerra
- refactor(userspace/libsinsp): polish and enable filter caching [#1906] - @jasondellaluce
- update(cmake): propagate position-independent code option to dependencies [#1878] - @jasondellaluce
Bug Fixes
- fix(libsinsp): solve field-field comparison pointer instability issues [#2063] - @jasondellaluce
- fix(sinsp): plugin capture listen capability exception [#2050] - @mrgian
- fix(libsinsp/state): ensure deep copy semantics and proper memory ownership in dynamic structs [#2026] - @jasondellaluce
- fix(libpman): try to get a new event on the same CPU after increasing the producer [#2009] - @Andreagit97
- fix(userspace/libsinsp): fixed CO_IN filter crafted value. [#2019] - @FedeDP
- fix(libsinsp): simplify sinsp_split, modify set_env/args [#1962] - @LucaGuerra
- fix(userspace/libsinsp): assorted pass-by-reference performance optimizations [#1965] - @jasondellaluce
- fix(libsinsp): use size_type in basename transformer, fix build on Windows [#1945] - @LucaGuerra
- fix(userspace/libsinsp): solve fdtables 'type' field returning random data [#1903] - @jasondellaluce
Non user-facing changes
- new(tests): add tests for contains/icontains [#1912] - @LucaGuerra
- fix(libscap): use the correct memory barrier for ARM64 [#2067] - @Andreagit97
- ci: pin dependencies [#2055] - @Andreagit97
- fix(test/drivers): fixed s390x
Werror
related failures for drivers tests [#2066] - @FedeDP - chore(sinsp): rename
thread_pool
tosinsp_thread_pool
to avoid symbol conflicts [#2065] - @mrgian - fix(ci): avoid running drivers CI jobs that need secrets in PR coming from forks [#2060] - @FedeDP
- fix(ci): fix some warnings as error [#2062] - @Andreagit97
- fix(build): fix tests build warnings (fatal with -Werror) [#2053] - @gnosek
- chore: ignore the commit used for formatting [#2054] - @Andreagit97
- chore(libs): apply code formatting [#2051] - @poiana
- ci(semgrep): update semgrep docker image [#2048] - @francesco-furlan
- fix(sinsp): fix
fs.path
filterchecks for relative paths (adddirfd
concept) [#1993] - @incertum - chore: scaffolding for enabling code formatting [#2038] - @Andreagit97
- chore(cmake): honor CMAKE_BUILD_TYPE while building bundled grpc and protobuf [#2043] - @FedeDP
- chore(userspace/libsinsp): only link libanl if present. [#2036] - @FedeDP
- fix(userspace/libsinsp): fixed a couple of UBs [#2045] - @FedeDP
- cleanup(ci): don't run drivers CI job that use secrets on forks. [#2041] - @FedeDP
- Use absolute path for clang executable in modern_bpf driver [#2032] - @Molter73
- fix(ci): only account for mean values in google benchmarks perf CI checks [#2030] - @FedeDP
- fix(CI): restore e2e sinsp report uploading [#2024] - @Andreagit97
- new(ci,benchmarks): added more benchmarks and make use of them in perf CI [#2023] - @FedeDP
- feat(libsinsp): Add wrapper for read/write lock [#1877] - @greyhame-s
- update(cri):
cri-dockerd
support [#1907] - @incertum - cleanup(tests): move some scap files under the scap file test suite [#2001] - @Andreagit97
- new(tests): introduce the first google benchmark [#2021] - @Andreagit97
- chore: add CMakePresets.json file [#1986] - @Andreagit97
- chore(ci): update kernel-testing related matrix comment if already existent [#2020] - @FedeDP
- chore(ci): disable unstable scap-related perf test from perf PR comment and check [#2017] - @FedeDP
- fix(libsinsp/tests): assorted fixes (memory layout, synchronization) [#2013] - @LucaGuerra
- cleanup(sinsp/metrics): assorted cleanups for robustness [#1950] - @incertum
- fix(userspace/libsinsp): explicitly include to fix build with gcc-15 [#2015] - @hhoffstaette
- fix(libscap): fix scap_kmod build with HANDLE() macro [#2010] - @LucaGuerra
- cleanup(ci): update semgrep to 1.84.0 [#1996] - @LucaGuerra
- new(scap,pman): add new per-CPU driver metrics [#1998] - @Andreagit97
- update(sinsp/ifinfo): add new public addr_to_string methods [#1937] - @incertum
- fix: multiple definitions for scap_engine_handle [#1889] - @federico-sysdig
- new(tests): add a new test for execveat with
AT_EMPTY_PATH
[#2002] - @Andreagit97 - fix(ci): remove spurious strategy statement [#1999] - @LucaGuerra
- FixTheCompatibilityIssueWithCgroupv2 [#1921] - @seraphGod
- chore(ci): add an empty run for scap file before perf'ing it. [#1977] - @FedeDP
- update(ci): use codecov flag for libsinsp [#1995] - @LucaGuerra
- fix(libsinsp): add function to set compiler filter and filter string [#1976] - @therealbobo
- docs(bpf_engine): add some docs and rename some variables [#1984] - @Andreagit97
- cleanup(libsinsp): remove unreachable code [#1972] - @LucaGuerra
- cleanup(metrics): remove duplicated new_metric method [#1991] - @Molter73
- tests(sinsp): Fix infer_defaults_to_first_non_loopback TC [#1989] - @SohamM-Ibm
- update(ci): Build more jobs in parallel [#1980] - @geraldcombs
- chore(ci): run capture-related perf CI on tmpfs. [#1975] - @FedeDP
- fix(libsinsp): pass shared_ptr by reference [#1973] - @therealbobo
- fix(libsinsp): fix Falco compilation error on libsinsp_metrics::set_metric_value [#1971] - @LucaGuerra
- fix(ci): use semver tag version for kernel-testing action. [#1970] - @FedeDP
- fix(ci): introduce "libsinsp" component for test coverage [#1968] - @LucaGuerra
- cleanup(ci): pin deps to hashes [#1967] - @LucaGuerra
- new(ci): add libsinsp unit test code coverage [#1966] - @LucaGuerra
- tests(sinsp): fix unix connect test [#1956] - @Andreagit97
- chore(cmake/modules): bump zlib to 1.3.1 [#1957] - @therealbobo
- chore(libsinsp): fix unused value for fscanf [#1941] - @LucaGuerra
- fix(ci): avoid truncation while saving PR info in drivers ci. [#1939] - @FedeDP
- chore(metrics): refactor metrics v2 so it uses classes [#1920] - @Molter73
- new(ci): enable kernel testing on PRs. [#1935] - @FedeDP
- cleanup(tests): move filter compilation functions to sinsp_with_test_input [#1911] - @LucaGuerra
- fix(ci): fixed heaptrack data path (zst extension). [#1934] - @FedeDP
- chore(ci): small fix in output names. [#1933] - @FedeDP
- fix: class definitions with duplicate names [#1886] - @federico-sysdig
- fix(libpman): avoid truncated verifier logs [#1931] - @Andreagit97
- chore(ci,docs): disable ToC in perf gh pages. [#1930] - @FedeDP
- fix(ci): fixed deploy-pages job needs. [#1929] - @FedeDP
- new(ci): move perf CI to a composite action. [#1926] - @FedeDP
- cleanup(libsinsp): remove unreachable code in utils.cpp [#1915] - @LucaGuerra
- fix(libsinsp): resize the param storage in case of a long path [#1917] - @Andreagit97
- new(test): add test for gvisor config generator [#1914] - @LucaGuerra
- new(tests): add tests for event result [#1913] - @LucaGuerra
- chore: update test/vm setup [#1897] - @incertum
- fix: some compiler warnings (func def. w/o decl.) [#1887] - @federico-sysdig
- chore(deps): bump requests from 2.31.0 to 2.32.0 in /test/e2e/tests [#1875] - @dependabot[bot]
Statistics
MERGED PRS | NUMBER |
---|---|
Not user-facing | 75 |
Release note | 26 |
Total | 101 |