hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/tools/power/pm-graph/config/example.cfg
....@@ -98,11 +98,33 @@
9898 # graph only devices longer than min in the timeline (default: 0.001 ms)
9999 mindev: 0.001
100100
101
+# Call Loop Max Gap (dev mode only)
102
+# merge loops of the same call if each is less than maxgap apart (def: 100us)
103
+callloop-maxgap: 0.0001
104
+
105
+# Call Loop Max Length (dev mode only)
106
+# merge loops of the same call if each is less than maxlen in length (def: 5ms)
107
+callloop-maxlen: 0.005
108
+
109
+# Override default timeline entries:
110
+# Do not use the internal default functions for timeline entries (def: false)
111
+# Set this to true if you intend to only use the ones defined in the config
112
+override-timeline-functions: true
113
+
114
+# Override default dev timeline entries:
115
+# Do not use the internal default functions for dev timeline entries (def: false)
116
+# Set this to true if you intend to only use the ones defined in the config
117
+override-dev-timeline-functions: true
118
+
101119 # ---- Debug Options ----
102120
103121 # Callgraph
104122 # gather detailed ftrace callgraph data on all timeline events (default: false)
105123 callgraph: false
124
+
125
+# Max graph depth
126
+# limit the callgraph trace to this depth (default: 0 = all)
127
+maxdepth: 2
106128
107129 # Callgraph phase filter
108130 # Only enable callgraphs for one phase, i.e. resume_noirq (default: all)
....@@ -131,3 +153,7 @@
131153 # Add kprobe functions to the timeline
132154 # Add functions to the timeline from a text file (default: no-action)
133155 # fadd: file.txt
156
+
157
+# Ftrace buffer size
158
+# Set trace buffer size to N kilo-bytes (default: all of free memory up to 3GB)
159
+# bufsize: 1000