Skip to content

support suspend resume of fault injection - #328

Merged
Shankar Seal (shankarseal) merged 2 commits into
microsoft:mainfrom
shankarseal:shankarseal-fault-injection-suspension
Aug 28, 2026
Merged

support suspend resume of fault injection#328
Shankar Seal (shankarseal) merged 2 commits into
microsoft:mainfrom
shankarseal:shankarseal-fault-injection-suspension

Conversation

@shankarseal

Copy link
Copy Markdown
Collaborator

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

Adds thread-safe, nestable suspend and resume APIs for fault injection. While suspended, fault injection remains enabled but does not capture stacks, record faults, or inject allocation failures. Matching no-op macros support non-debug builds. Unit tests verify enabled-state preservation, nested suspension, suppressed injection, and restoration after the final resume.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ea587460-e416-414f-9687-d52ae0a34d8f
@shankarseal
Shankar Seal (shankarseal) merged commit 2345adb into microsoft:main Aug 28, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in eBPF for Windows Triage Aug 28, 2026
@shankarseal
Shankar Seal (shankarseal) deleted the shankarseal-fault-injection-suspension branch August 28, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants