From df5a81183303fa941d71e866ff8d258e4d6a510e Mon Sep 17 00:00:00 2001 From: Victor Garcia Date: Thu, 7 Apr 2016 11:32:38 -0500 Subject: mem: Add Program Counter to MemTraceProbe --- src/mem/probes/MemTraceProbe.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mem/probes/MemTraceProbe.py') diff --git a/src/mem/probes/MemTraceProbe.py b/src/mem/probes/MemTraceProbe.py index 971765eb4..c51ec9282 100644 --- a/src/mem/probes/MemTraceProbe.py +++ b/src/mem/probes/MemTraceProbe.py @@ -46,6 +46,9 @@ class MemTraceProbe(BaseMemProbe): # Boolean to compress the trace or not. trace_compress = Param.Bool(True, "Enable trace compression") + # For requests with a valid PC, include the PC in the trace + with_pc = Param.Bool(False, "Include PC info in the trace") + # packet trace output file, disabled by default trace_file = Param.String("", "Packet trace output file") -- cgit v1.2.3