diff options
| author | Paul Buetow <paul@buetow.org> | 2024-03-02 00:56:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-03-02 00:56:09 +0200 |
| commit | f4e736903d6a7d2b8e025c8a6f7ef63ff3ec3e3a (patch) | |
| tree | 371358f2bd88dff3bc583feaaba04efb852b32a8 /internal/eventloop.go | |
| parent | 367dd194b4011a62304913e46d3138445ccf9892 (diff) | |
tracepoint mismatches are reported differently
Diffstat (limited to 'internal/eventloop.go')
| -rw-r--r-- | internal/eventloop.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/eventloop.go b/internal/eventloop.go index d450fa3..fa799ee 100644 --- a/internal/eventloop.go +++ b/internal/eventloop.go @@ -47,10 +47,7 @@ func events(rawCh <-chan []byte) <-chan enterExitEvent { // don't match up. E.g.: // enterEv:SYS_ENTER_OPEN => exitEv:SYS_EXIT_OPEN if ev.enterEv.GetSyscallId()-1 != ev.exitEv.GetSyscallId() { - fmt.Println(fmt.Sprintf("Loss of event (not matching) %v", ev)) - ev.enterEv.Recycle() - exitEv.Recycle() - return + ev.tracepointMismatch = true } // Handle the opening of a file. |
