Skip to content

Build perf and profiler targets under MSan#103

Merged
vadimskipin merged 1 commit into
mainfrom
vskipin/cmake-cleanup
Jul 14, 2026
Merged

Build perf and profiler targets under MSan#103
vadimskipin merged 1 commit into
mainfrom
vskipin/cmake-cleanup

Conversation

@vadimskipin

Copy link
Copy Markdown
Collaborator

The MSan exclusions guarded nothing: net-perf-asio links no Boost library (Boost.System is header-only), and the profiler chain (libbacktrace, libbpf, bpftool) is vendored, so all of it inherits the instrumentation and the from-source libc++. Poco and the AWS SDK remain behind their opt-in options. Fail at configure time when BUILD_AWS is set without BUILD_POCO - s3-perf links silk-perf-http, which only exists with Poco.

The MSan exclusions guarded nothing: net-perf-asio links no Boost
library (Boost.System is header-only), and the profiler chain
(libbacktrace, libbpf, bpftool) is vendored, so all of it inherits the
instrumentation and the from-source libc++. Poco and the AWS SDK remain
behind their opt-in options. Fail at configure time when BUILD_AWS is
set without BUILD_POCO - s3-perf links silk-perf-http, which only
exists with Poco.
@praktika-gh

praktika-gh Bot commented Jul 14, 2026

Copy link
Copy Markdown

Workflow [PR], commit [0262ee9]

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts Silk’s CMake build gating so performance and profiler targets can be built under MSan, and introduces an explicit configure-time constraint between AWS and Poco perf targets.

Changes:

  • Build net-perf-asio whenever Boost ≥ 1.75, removing the MSan exclusion.
  • Allow building the src/profiler subdirectory under MSan (still gated by BUILD_LIBBACKTRACE).
  • Fail configuration when BUILD_AWS=ON but BUILD_POCO=OFF, since s3-perf depends on silk-perf-http.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/perf/CMakeLists.txt Removes MSan gating for net-perf-asio and adds a fatal configure-time check to prevent s3-perf from being enabled without Poco.
CMakeLists.txt Removes the MSan exclusion for adding the src/profiler subdirectory (still requires BUILD_LIBBACKTRACE).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vadimskipin
vadimskipin merged commit b41f1d6 into main Jul 14, 2026
16 checks passed
@vadimskipin
vadimskipin deleted the vskipin/cmake-cleanup branch July 14, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants