amosproj/amos2024ws03-android-zero-instrumentation

Create kprobe to Track Blocking vfs_write Call

Closed this issue · 1 comments

As a developer:
I want to attach kprobe to vfs_write function so that I can detect and log blocking behavior in file system writes.

Acceptance Criteria:
Data Captured:
Collect key information:
Process ID (PID).
File descriptor.
Size of the write operation.
Timestamp.

Performance:
Ensure the kprobe has minimal system impact.

Einen Filedeskriptor hat vfs_write nicht als Parameter. siehe doc
An die anderen Informationen bin ich gekommen.