summaryrefslogtreecommitdiff
path: root/schulung_tools
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2019-01-11 12:08:41 +0106
committerJohn Ogness <john.ogness@linutronix.de>2019-01-11 12:08:41 +0106
commit7ae8f97575a235d2bba4e14ce45edf30c40bd8ac (patch)
tree147106f6600145505207601c9365e22c2646ce36 /schulung_tools
parente1a6fd1839f3960286811d9a2b2fe9dd2ef9bddd (diff)
schulung_tools: matrix: add more details to README
mention some other usage of perf to track done the problem [Reformatted by jogness] Signed-off-by: Manuel Traut <manut@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools')
-rw-r--r--schulung_tools/matrix/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/schulung_tools/matrix/README b/schulung_tools/matrix/README
index 40a1e75..9fcb33e 100644
--- a/schulung_tools/matrix/README
+++ b/schulung_tools/matrix/README
@@ -5,3 +5,14 @@ sudo perf stat ./main -1
# investigate bad cache usage
sudo perf stat ./main -2
+
+# look at actual cache statistics
+sudo perf stat -e cache-misses ./main -1
+sudo perf stat -e cache-misses ./main -2
+
+# more detailed events like L1-dcache-loads and L1-dcache-load-misses
+# may be available on the system (sudo perf list)
+
+# investigate which lines of code cause the problem
+sudo perf record -e cache-misses ./main -2
+sudo perf report