libbpf / blazesym

blazesym is a library for address symbolization and related tasks
BSD 3-Clause "New" or "Revised" License
115 stars 24 forks source link

Introduce is_procmap_query_supported() helper #787

Closed danielocfb closed 2 months ago

danielocfb commented 2 months ago

Add a way to check for support of the PROCMAP QUERY ioctl via the public is_procmap_query_supported() helper. On an otherwise unknown system, this function allows to selectively enable (or disable) the usage of the corresponding code paths.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 94.62%. Comparing base (8dc51b8) to head (430f08d).

Files Patch % Lines
src/normalize/ioctl.rs 81.25% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #787 +/- ## ========================================== - Coverage 94.64% 94.62% -0.03% ========================================== Files 51 51 Lines 9641 9657 +16 ========================================== + Hits 9125 9138 +13 - Misses 516 519 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.