perf/arm-cmn: Add debugfs topology info
authorRobin Murphy <robin.murphy@arm.com>
Fri, 3 Dec 2021 11:45:03 +0000 (11:45 +0000)
committerWill Deacon <will@kernel.org>
Tue, 14 Dec 2021 12:09:28 +0000 (12:09 +0000)
commita88fa6c28b867a387e3af202d6dbbb754d3aa2f1
tree0b5fe5e6a33058e0cc07d0b7a446920d82c09c65
parentb2fea780c9282dbaf77ef081e6d97a3f2c0dfc6a
perf/arm-cmn: Add debugfs topology info

In general, detailed performance analysis will require knoweldge of the
the SoC beyond the CMN itself - e.g. which actual CPUs/peripherals/etc.
are connected to each node. However for certain development and bringup
tasks it can be useful to have a quick overview of the CMN internal
topology to hand too. Add a debugfs file to map this out.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/159fd4d7e19fb3c8801a8cb64ee73ec50f55903c.1638530442.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-cmn.c