Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(libsinsp/runc): typo #2244

Merged
merged 1 commit into from
Jan 20, 2025
Merged

fix(libsinsp/runc): typo #2244

merged 1 commit into from
Jan 20, 2025

Conversation

therealbobo
Copy link
Contributor

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
Copy link

Perf diff from master - unit tests

     3.20%     +0.57%  [.] sinsp_evt::load_params
     8.24%     -0.53%  [.] sinsp_evt::get_type
     5.62%     +0.53%  [.] next_event_from_file
     1.88%     -0.38%  [.] scap_event_decode_params
    10.60%     -0.29%  [.] sinsp_parser::reset
     2.05%     -0.27%  [.] next
     1.35%     -0.26%  [.] std::_Hashtable<unsigned long, std::pair<unsigned long const, std::shared_ptr<ppm_evt_hdr> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<ppm_evt_hdr> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node
     0.61%     -0.25%  [.] std::_Hashtable<unsigned long, std::pair<unsigned long const, std::shared_ptr<ppm_evt_hdr> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<ppm_evt_hdr> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::find
     1.52%     -0.23%  [.] sinsp::fetch_next_event
     1.65%     -0.22%  [.] sinsp_evt_filter::sinsp_evt_filter

Heap diff from master - unit tests

peak heap memory consumption: 0B
peak RSS (including heaptrack overhead): 0B
total memory leaked: 0B

Heap diff from master - scap file

peak heap memory consumption: 0B
peak RSS (including heaptrack overhead): 0B
total memory leaked: 0B

Benchmarks diff from master

Comparing gbench_data.json to /root/actions-runner/_work/libs/libs/build/gbench_data.json
Benchmark                                                         Time             CPU      Time Old      Time New       CPU Old       CPU New
----------------------------------------------------------------------------------------------------------------------------------------------
BM_sinsp_split_mean                                            +0.0020         +0.0019           145           145           145           145
BM_sinsp_split_median                                          +0.0233         +0.0233           143           146           143           146
BM_sinsp_split_stddev                                          -0.5162         -0.5166             5             2             5             2
BM_sinsp_split_cv                                              -0.5172         -0.5175             0             0             0             0
BM_sinsp_concatenate_paths_relative_path_mean                  -0.0103         -0.0103            63            63            63            63
BM_sinsp_concatenate_paths_relative_path_median                -0.0106         -0.0106            63            63            63            63
BM_sinsp_concatenate_paths_relative_path_stddev                -0.0445         -0.0439             0             0             0             0
BM_sinsp_concatenate_paths_relative_path_cv                    -0.0346         -0.0340             0             0             0             0
BM_sinsp_concatenate_paths_empty_path_mean                     -0.0389         -0.0389            25            24            25            24
BM_sinsp_concatenate_paths_empty_path_median                   -0.0367         -0.0367            25            24            25            24
BM_sinsp_concatenate_paths_empty_path_stddev                   -0.7656         -0.7664             0             0             0             0
BM_sinsp_concatenate_paths_empty_path_cv                       -0.7561         -0.7569             0             0             0             0
BM_sinsp_concatenate_paths_absolute_path_mean                  +0.0895         +0.0894            61            66            61            66
BM_sinsp_concatenate_paths_absolute_path_median                +0.1450         +0.1450            58            66            58            66
BM_sinsp_concatenate_paths_absolute_path_stddev                -0.8881         -0.8881             4             0             4             0
BM_sinsp_concatenate_paths_absolute_path_cv                    -0.8973         -0.8973             0             0             0             0
BM_sinsp_split_container_image_mean                            +0.0065         +0.0065           387           389           387           389
BM_sinsp_split_container_image_median                          +0.0061         +0.0061           387           389           387           389
BM_sinsp_split_container_image_stddev                          -0.3985         -0.3979             3             2             3             2
BM_sinsp_split_container_image_cv                              -0.4024         -0.4018             0             0             0             0

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.12%. Comparing base (7e48bed) to head (5f16d2d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2244   +/-   ##
=======================================
  Coverage   75.12%   75.12%           
=======================================
  Files         276      276           
  Lines       34400    34400           
  Branches     5922     5922           
=======================================
  Hits        25842    25842           
  Misses       8558     8558           
Flag Coverage Δ
libsinsp 75.12% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented Jan 20, 2025

LGTM label has been added.

Git tree hash: 004054880e37309e21c053a9db0d5e165d4a7664

@Andreagit97 Andreagit97 added this to the 0.20.0 milestone Jan 20, 2025
@poiana
Copy link
Contributor

poiana commented Jan 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, therealbobo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch
/milestone 0.20.0

cc @FedeDP

@poiana poiana merged commit e7a6a22 into falcosecurity:master Jan 20, 2025
49 checks passed
@FedeDP FedeDP mentioned this pull request Jan 20, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants