aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/trace_profile/oprofile.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace_profile/oprofile.md')
-rw-r--r--src/trace_profile/oprofile.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/trace_profile/oprofile.md b/src/trace_profile/oprofile.md
new file mode 100644
index 0000000..7d35283
--- /dev/null
+++ b/src/trace_profile/oprofile.md
@@ -0,0 +1,14 @@
+# [OProfile](https://oprofile.sourceforge.io/)
+
+```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
+```