aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/oprofile.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/oprofile.md')
-rw-r--r--src/oprofile.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/oprofile.md b/src/oprofile.md
new file mode 100644
index 0000000..15e06f6
--- /dev/null
+++ b/src/oprofile.md
@@ -0,0 +1,15 @@
+# OProfile
+
+```markdown
+operf -g -p <pid>
+ -g ...... caputre call-graph information
+
+opreport [opt] FILE
+ ...... show time spent per binary image
+ -l ...... show time spent per symbol
+ -c ...... show callgraph information (see below)
+ -a ...... add column with time spent accumulated over child nodes
+
+ophelp
+ ...... show supported hw/sw events
+```