From eebc9cba272c1b20296ab998262298c5da99e047 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 21 Feb 2026 14:33:41 +0200 Subject: Move TODO list to taskwarrior Amp-Thread-ID: https://ampcode.com/threads/T-019c8012-eaeb-768d-a264-5a704f3939ef Co-authored-by: Amp --- TODO.md | 66 +---------------------------------------------------------------- 1 file changed, 1 insertion(+), 65 deletions(-) diff --git a/TODO.md b/TODO.md index 6da2b15..22527d3 100644 --- a/TODO.md +++ b/TODO.md @@ -1,67 +1,3 @@ # TODO - I/O Riot NG Development Tasks -## High Priority (Core functionality) - -### 2. Implement byte count tracking for read/write syscalls -- Track number of bytes read/written in each I/O operation -- Add to flamegraph statistics -- Location: internal/flamegraph/counter.go:11 - -## Medium Priority (Additional syscalls) - -### 3. Implement copy_file_range syscall -- Capture source and destination file descriptors -- Track byte count copied -- 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:415 - -### 5. Implement sync_file_range syscall -- Capture file descriptor and range parameters -- Track selective file synchronization -- 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:413 - -### 7. Implement name_to_handle_at syscall -- Convert pathname to handle -- Location: internal/eventloop.go:414 - -### 8. Implement getcwd syscall -- Track current working directory queries -- Location: internal/eventloop.go:416 - -### 9. Add sys_enter_open_by_handle_at to BPF -- Update BPF tracepoint generation -- 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:418 - -## General Improvements - -### 11. Write comprehensive unit tests -- Increase overall test coverage -- Location: internal/ior.go:21 - -### 12. Write integration tests -- Use C/Cgo to simulate real I/O operations -- Test end-to-end functionality -- Location: internal/ior.go:22 - -## Completed Tasks ✓ - -All previously listed test cases have been implemented: -- Helper functions for all event types -- Test cases for all basic syscalls -- File descriptor lifecycle tests -- Edge case handling tests -- Filtering and comm tracking tests +All TODOs are tracked in taskwarrior under `project:ior`. -- cgit v1.2.3