diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-20 22:43:32 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-20 22:43:32 +0300 |
| commit | 6ca4d5ddacaff05d8bd82a5e9a6dfbb39ac111c9 (patch) | |
| tree | a0b4469a9eb96bfb0b5a09d5f086219782040982 /integrationtests | |
| parent | 7a9839917461b12c810329ccb8fd3c6de06902d2 (diff) | |
feat: add keyctl ptrace perf_event_open tracing (task 77)
Diffstat (limited to 'integrationtests')
| -rw-r--r-- | integrationtests/security_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/integrationtests/security_test.go b/integrationtests/security_test.go new file mode 100644 index 0000000..cf47809 --- /dev/null +++ b/integrationtests/security_test.go @@ -0,0 +1,13 @@ +package integrationtests + +import "testing" + +func TestSecurityKeysPtracePerf(t *testing.T) { + runScenario(t, "security-keys-ptrace-perf", []ExpectedEvent{ + {Tracepoint: "enter_keyctl", Comm: "ioworkload", MinCount: 1}, + {Tracepoint: "enter_add_key", Comm: "ioworkload", MinCount: 1}, + {Tracepoint: "enter_request_key", Comm: "ioworkload", MinCount: 1}, + {Tracepoint: "enter_ptrace", Comm: "ioworkload", MinCount: 1}, + {Tracepoint: "enter_perf_event_open", Comm: "ioworkload", MinCount: 1}, + }) +} |
