aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-08-11 17:18:09 +0200
committerDrahflow <drahflow@gmx.de>2013-08-11 17:18:09 +0200
commit0133daad6426cc8b50000d79c27de8ebffe34fc9 (patch)
tree87cb83a7d04d639fca185e6eab2af6cfa5d7b7d8
parent0d03ae59570385450ac9802048c5123b9c594c37 (diff)
A minimal performance tracing tool
-rw-r--r--elymas/ptracePerf/perf.ey13
1 files changed, 13 insertions, 0 deletions
diff --git a/elymas/ptracePerf/perf.ey b/elymas/ptracePerf/perf.ey
new file mode 100644
index 0000000..a1c6078
--- /dev/null
+++ b/elymas/ptracePerf/perf.ey
@@ -0,0 +1,13 @@
+22948 ==:pid
+
+{ 1 } {
+ pid sys .linux .ptrace .attach --
+ pid 0 sys .linux .waitpid --
+ pid sys .linux .ptrace .peekUser .rip -- ==rip
+ # pid rip sys .linux .ptrace .peek -- ==instr
+ pid sys .linux .ptrace .detach --
+
+ rip dump
+} loop
+
+# vim: syn=elymas