summaryrefslogtreecommitdiff
path: root/src/mem/probes/MemTraceProbe.py
diff options
context:
space:
mode:
authorVictor Garcia <victor.garcia@arm.com>2016-04-07 11:32:38 -0500
committerVictor Garcia <victor.garcia@arm.com>2016-04-07 11:32:38 -0500
commitdf5a81183303fa941d71e866ff8d258e4d6a510e (patch)
tree9a3b6d1cec6ac0a672480ad477090d743af54e0d /src/mem/probes/MemTraceProbe.py
parenta3bf4aa6ec9caa68a558f7347d55991f7a254fa5 (diff)
downloadgem5-df5a81183303fa941d71e866ff8d258e4d6a510e.tar.xz
mem: Add Program Counter to MemTraceProbe
Diffstat (limited to 'src/mem/probes/MemTraceProbe.py')
-rw-r--r--src/mem/probes/MemTraceProbe.py3
1 files changed, 3 insertions, 0 deletions
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")