Tiago Mück has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/19208

Change subject: misc: dot_writer fixup
......................................................................

misc: dot_writer fixup

Using multiple lines for the tooltip to avoid having a single string
larger than graphviz YY_BUF_SIZE (typically 16k).

Change-Id: I16a0030127de4165080de97f5213309eed9fdeca
Signed-off-by: Tiago Mück <[email protected]>
---
M src/python/m5/util/dot_writer.py
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/src/python/m5/util/dot_writer.py b/src/python/m5/util/dot_writer.py
index 3cec38f..d1fe946 100644
--- a/src/python/m5/util/dot_writer.py
+++ b/src/python/m5/util/dot_writer.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2012-2013 ARM Limited
+# Copyright (c) 2012-2013,2019 ARM Limited
 # All rights reserved.
 #
 # The license below extends only to copyright in the software and shall
@@ -154,7 +154,7 @@
             ini_strings.append(str(param) + "&#61;" +
                                simNode._values[param].ini_str())
     # join all the parameters with an HTML newline
-    tooltip = "&#10;".join(ini_strings)
+    tooltip = "&#10;\\".join(ini_strings)

     return pydot.Cluster( \
                          full_path, \

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/19208
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I16a0030127de4165080de97f5213309eed9fdeca
Gerrit-Change-Number: 19208
Gerrit-PatchSet: 1
Gerrit-Owner: Tiago Mück <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to