You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 91aec81
Browse filesBrowse the repository at this point in the historyBrowse files
build: pre-generate USDT probe header and add bpftrace CI
Commit the generated SystemTap provider header so Linux builds need
only <sys/sdt.h>, not a build-time dtrace tool. Keep macOS opt-in
through --with-dtrace and allow --without-dtrace to disable probes
entirely.
Add Linux CI coverage for enabled and disabled builds, with explicit
capability assertions and a generated-header check. Exercise real probes
with bpftrace, including snapshot restoration and tracer-only publishing
from JavaScript and SQLite.
Signed-off-by: Bryan English <bryan@bryanenglish.com>
Assisted-by: Pi using GLM-5.3
if [ "${{ github.event_name }}" != "pull_request" ]; then
124
+
echo "usdt=true" >> "$GITHUB_OUTPUT"
125
+
exit 0
126
+
fi
127
+
# For pull_request events, HEAD is GitHub's merge ref; HEAD^1 is the
128
+
# tip of the base branch, so no additional fetch is needed.
129
+
FILES=$(git diff --name-only HEAD^1 HEAD)
130
+
echo "$FILES"
131
+
if echo "$FILES" | grep -qE '^(src/node_(usdt|provider|diagnostics_channel)\.(h|cc|d)|src/node_provider_linux\.h|lib/diagnostics_channel\.js|tools/usdt/|test/common/usdt\.js|test/parallel/test-diagnostics-channel-usdt.*\.js|\.github/workflows/test-linux\.yml|configure\.py|node\.gyp|doc/api/diagnostics_channel\.md)'; then
0 commit comments