python: more readable Ruby dot topology
authorTiago Mück <tiago.muck@arm.com>
Thu, 12 Sep 2019 19:57:44 +0000 (14:57 -0500)
committerTiago Mück <tiago.muck@arm.com>
Thu, 11 Feb 2021 22:13:38 +0000 (22:13 +0000)
commit8839beb492571d3d77697323d17f879267c78d6d
treece689993fd6b48c6503461172c6ac50dffa6cd5c
parentdd270656f09395374bdd2c792f5c011692bbbdc9
python: more readable Ruby dot topology

Controllers may have the same name under different parents, thus
the controller full path is used as label. To avoid long and redundant
labels, common prefixes and suffixes are removed from the path.

Change-Id: Id793b59a4c38f3425ae5348138ae1d74c823edd7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41093
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/util/dot_writer_ruby.py