On full system you can also try to instrument the syscall function symbol, we do something analogous for panic detection: https://github.com/gem5/gem5/blob/f28b2e773f2ee97bf9c755b33aef9befc052d281/src/arch/arm/linux/fs_workload.cc#L207 ________________________________ From: ABD ALRHMAN ABO ALKHEEL via gem5-users <[email protected]> Sent: Saturday, October 24, 2020 10:00 PM To: gem5 users mailing list <[email protected]>; gem5-users <[email protected]> Cc: ABD ALRHMAN ABO ALKHEEL <[email protected]> Subject: [gem5-users] track the write syscall in the kernel
Hi All; I want to track the write syscall in order to do some calculations on the written bytes. I just want to know what is the function that does write syscall function and how I can the written bytes from it. Any help would be appreciated. Thanks https://github.com/torvalds/linux/blob/master/fs/read_write.c
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
