Commit 7af08b5
committed
Merge tag 'trace-v6.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull more tracing updates from Steven Rostedt:
- Add trace flag for NEED_RESCHED_LAZY
Now that NEED_RESCHED_LAZY is upstream, add it to the status bits of
the common_flags. This will now show when the NEED_RESCHED_LAZY flag
is set that is used for debugging latency issues in the kernel via a
trace.
- Remove leftover "__idx" variable when SRCU was removed from the
tracepoint code
- Add rcu_tasks_trace guard
To add a guard() around the tracepoint code, a rcu_tasks_trace guard
needs to be created first.
- Remove __DO_TRACE() macro and just call __DO_TRACE_CALL() directly
The DO_TRACE() macro has conditional locking depending on what was
passed into the macro parameters. As the guts of the macro has been
moved to __DO_TRACE_CALL() to handle static call logic, there's no
reason to keep the __DO_TRACE() macro around.
It is better to just do the locking in place without the conditionals
and call __DO_TRACE_CALL() from those locations. The "cond" passed in
can also be moved out of that macro. This simplifies the code.
- Remove the "cond" from the system call tracepoint macros
The "cond" variable was added to allow some tracepoints to check a
condition within the static_branch (jump/nop) logic. The system calls
do not need this. Removing it simplifies the code.
- Replace scoped_guard() with just guard() in the tracepoint logic
guard() works just as well as scoped_guard() in the tracepoint logic
and the scoped_guard() causes some issues.
* tag 'trace-v6.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing: Use guard() rather than scoped_guard()
tracing: Remove cond argument from __DECLARE_TRACE_SYSCALL
tracing: Remove conditional locking from __DO_TRACE()
rcupdate_trace: Define rcu_tasks_trace lock guard
tracing: Remove __idx variable from __DO_TRACE
tracing: Move it_func[0] comment to the relevant context
tracing: Record task flag NEED_RESCHED_LAZY.File tree
6 files changed
+55
-53
lines changed- Documentation/trace
- include/linux
- kernel/trace
6 files changed
+55
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
| 1036 | + | |
1036 | 1037 | | |
1037 | 1038 | | |
1038 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1039 | 1043 | | |
1040 | 1044 | | |
1041 | 1045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 212 | | |
243 | 213 | | |
244 | 214 | | |
| |||
262 | 232 | | |
263 | 233 | | |
264 | 234 | | |
265 | | - | |
| 235 | + | |
266 | 236 | | |
267 | 237 | | |
268 | 238 | | |
| |||
297 | 267 | | |
298 | 268 | | |
299 | 269 | | |
300 | | - | |
| 270 | + | |
301 | 271 | | |
302 | 272 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
306 | 277 | | |
307 | 278 | | |
308 | 279 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
313 | 286 | | |
314 | 287 | | |
315 | 288 | | |
316 | 289 | | |
317 | 290 | | |
318 | 291 | | |
319 | | - | |
320 | | - | |
| 292 | + | |
| 293 | + | |
321 | 294 | | |
322 | 295 | | |
323 | | - | |
324 | | - | |
325 | | - | |
| 296 | + | |
| 297 | + | |
326 | 298 | | |
327 | 299 | | |
328 | 300 | | |
329 | 301 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
335 | 307 | | |
336 | 308 | | |
337 | 309 | | |
| |||
341 | 313 | | |
342 | 314 | | |
343 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
344 | 319 | | |
345 | 320 | | |
346 | 321 | | |
| |||
412 | 387 | | |
413 | 388 | | |
414 | 389 | | |
415 | | - | |
| 390 | + | |
416 | 391 | | |
417 | 392 | | |
418 | 393 | | |
| |||
436 | 411 | | |
437 | 412 | | |
438 | 413 | | |
439 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
440 | 419 | | |
441 | 420 | | |
442 | 421 | | |
| |||
502 | 481 | | |
503 | 482 | | |
504 | 483 | | |
505 | | - | |
506 | 484 | | |
507 | 485 | | |
508 | 486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2552 | 2552 | | |
2553 | 2553 | | |
2554 | 2554 | | |
| 2555 | + | |
| 2556 | + | |
2555 | 2557 | | |
2556 | 2558 | | |
2557 | 2559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
466 | 466 | | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
467 | 470 | | |
468 | 471 | | |
469 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
470 | 479 | | |
471 | 480 | | |
472 | 481 | | |
473 | 482 | | |
474 | 483 | | |
475 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
476 | 488 | | |
477 | 489 | | |
478 | 490 | | |
| |||
0 commit comments