Assuming you are asking about SE mode, I think this is what you are looking for: https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/src/sim/syscall_emul.hh#2412 ?
Matt On Sat, Oct 24, 2020 at 4:00 PM ABD ALRHMAN ABO ALKHEEL via gem5-users < gem5-users@gem5.org> wrote: > 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 -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s