Hi Meng, If all you want are address traces, the CommMonitor already has the ability to output such traces. There are quite some threads discussing how and where to use it.
Andreas On 27/01/2015 03:56, "Meng Wang via gem5-users" <[email protected]> wrote: >Hello, >I am writing a trace probe for AtomicSimpleCPU. The simulation is >planed to run in SE mode. For user-level instruction, I can get >address and data of memory access by *traceData* member in >BasicSimpleCPU. But for system call, I don't know how to collect the >memory change during the syscall emulation, especially when read/write >syscalls are emulated. Anybody can provide a clue for me? > >Thanks, >Meng >_______________________________________________ >gem5-users mailing list >[email protected] >http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
