summaryrefslogtreecommitdiffstats
path: root/tools/power/pm-graph/config
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-06-13 11:06:21 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-06-13 11:06:21 +0200
commitd382084f77b0b4c3eb594cfec893d116c21fb034 (patch)
tree02ed7b4ba4f90e458a303c483ce055e7414918a8 /tools/power/pm-graph/config
parentMerge tag 'linux-cpupower-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentAdd README and update pm-graph and sleepgraph docs (diff)
downloadlinux-d382084f77b0b4c3eb594cfec893d116c21fb034.tar.xz
linux-d382084f77b0b4c3eb594cfec893d116c21fb034.zip
Merge back earlier pm-tools material for v5.3.
Diffstat (limited to 'tools/power/pm-graph/config')
-rw-r--r--tools/power/pm-graph/config/example.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/power/pm-graph/config/example.cfg b/tools/power/pm-graph/config/example.cfg
index 05b2efb9bb54..1ef3eb9383fa 100644
--- a/tools/power/pm-graph/config/example.cfg
+++ b/tools/power/pm-graph/config/example.cfg
@@ -98,12 +98,34 @@ postdelay: 0
# graph only devices longer than min in the timeline (default: 0.001 ms)
mindev: 0.001
+# Call Loop Max Gap (dev mode only)
+# merge loops of the same call if each is less than maxgap apart (def: 100us)
+callloop-maxgap: 0.0001
+
+# Call Loop Max Length (dev mode only)
+# merge loops of the same call if each is less than maxlen in length (def: 5ms)
+callloop-maxlen: 0.005
+
+# Override default timeline entries:
+# Do not use the internal default functions for timeline entries (def: false)
+# Set this to true if you intend to only use the ones defined in the config
+override-timeline-functions: true
+
+# Override default dev timeline entries:
+# Do not use the internal default functions for dev timeline entries (def: false)
+# Set this to true if you intend to only use the ones defined in the config
+override-dev-timeline-functions: true
+
# ---- Debug Options ----
# Callgraph
# gather detailed ftrace callgraph data on all timeline events (default: false)
callgraph: false
+# Max graph depth
+# limit the callgraph trace to this depth (default: 0 = all)
+maxdepth: 2
+
# Callgraph phase filter
# Only enable callgraphs for one phase, i.e. resume_noirq (default: all)
cgphase: suspend
@@ -131,3 +153,7 @@ timeprec: 6
# Add kprobe functions to the timeline
# Add functions to the timeline from a text file (default: no-action)
# fadd: file.txt
+
+# Ftrace buffer size
+# Set trace buffer size to N kilo-bytes (default: all of free memory up to 3GB)
+# bufsize: 1000