From f7e4b1bd35cd8143c2497c91b269d601625d1fae Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 21 Feb 2026 13:32:50 +0200 Subject: Fix outdated line references and test command in documentation --- AGENTS.md | 2 +- TODO.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index d3f3e95..cfd3dd1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,7 +10,7 @@ This file provides guidance to AI coding assistants working with the I/O Riot NG mage all # Build everything (BPF objects and Go binary) mage test # Run all tests TEST_NAME=TestEventloop mage testWithName # Run specific test -go test ./internal/event -v # Run tests for specific package +go test ./internal -v # Run tests for internal package mage generate # Generate code (required after modifying tracepoint definitions) mage bench # Run benchmarks mage clean # Clean build artifacts diff --git a/TODO.md b/TODO.md index 2daca1b..6da2b15 100644 --- a/TODO.md +++ b/TODO.md @@ -12,39 +12,39 @@ ### 3. Implement copy_file_range syscall - Capture source and destination file descriptors - Track byte count copied -- Location: internal/eventloop.go:353 +- Location: internal/eventloop.go:412 ### 4. Implement mmap/msync syscalls - Track memory-mapped file operations - Capture file descriptor and memory addresses -- Location: internal/eventloop.go:356 +- Location: internal/eventloop.go:415 ### 5. Implement sync_file_range syscall - Capture file descriptor and range parameters - Track selective file synchronization -- Location: internal/eventloop.go:358 +- Location: internal/eventloop.go:417 ## Low Priority (Less common syscalls) ### 6. Implement open_by_handle_at syscall - Handle file access by handle -- Location: internal/eventloop.go:354 +- Location: internal/eventloop.go:413 ### 7. Implement name_to_handle_at syscall - Convert pathname to handle -- Location: internal/eventloop.go:355 +- Location: internal/eventloop.go:414 ### 8. Implement getcwd syscall - Track current working directory queries -- Location: internal/eventloop.go:357 +- Location: internal/eventloop.go:416 ### 9. Add sys_enter_open_by_handle_at to BPF - Update BPF tracepoint generation -- Location: internal/c/generate_tracepoints_c.raku:5 +- Location: internal/generate/bpfhandler.go ### 10. Enhance io_uring_enter capture with FD tracking - Currently captured but without file descriptor context -- Location: internal/eventloop.go:359 +- Location: internal/eventloop.go:418 ## General Improvements -- cgit v1.2.3