Commit 2fc5f0c
trace_stack: Simplify seqfile code
Extract duplicate code in t_start() and t_next().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A891A91.4030602@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>1 parent 97d5320 commit 2fc5f0c
1 file changed
+12
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 193 | + | |
204 | 194 | | |
205 | 195 | | |
206 | | - | |
207 | | - | |
| 196 | + | |
208 | 197 | | |
209 | 198 | | |
210 | 199 | | |
211 | | - | |
| 200 | + | |
| 201 | + | |
212 | 202 | | |
213 | | - | |
214 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
215 | 206 | | |
| 207 | + | |
| 208 | + | |
216 | 209 | | |
217 | 210 | | |
218 | 211 | | |
219 | 212 | | |
220 | 213 | | |
221 | 214 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 215 | + | |
226 | 216 | | |
227 | 217 | | |
228 | 218 | | |
| |||
0 commit comments