Commit d566a9c
perf sched: Prefer sched_waking event when it exists
Commit fbd705a ("sched: Introduce the 'trace_sched_waking'
tracepoint") added sched_waking tracepoint which should be preferred
over sched_wakeup when analyzing scheduling delays.
Update 'perf sched record' to collect sched_waking events if it exists
and fallback to sched_wakeup if it does not. Similarly, update timehist
command to skip sched_wakeup events if the session includes sched_waking
(ie., sched_waking is preferred over sched_wakeup).
Signed-off-by: David Ahern <dsahern@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20200807164844.44870-1-dsahern@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>1 parent f9f9506 commit d566a9c
1 file changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2398 | 2398 | | |
2399 | 2399 | | |
2400 | 2400 | | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
2401 | 2410 | | |
2402 | 2411 | | |
2403 | 2412 | | |
| |||
2958 | 2967 | | |
2959 | 2968 | | |
2960 | 2969 | | |
2961 | | - | |
| 2970 | + | |
2962 | 2971 | | |
2963 | 2972 | | |
| 2973 | + | |
2964 | 2974 | | |
2965 | 2975 | | |
2966 | 2976 | | |
| |||
3018 | 3028 | | |
3019 | 3029 | | |
3020 | 3030 | | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
3021 | 3036 | | |
3022 | 3037 | | |
3023 | 3038 | | |
| |||
3330 | 3345 | | |
3331 | 3346 | | |
3332 | 3347 | | |
3333 | | - | |
3334 | 3348 | | |
3335 | 3349 | | |
3336 | 3350 | | |
| 3351 | + | |
3337 | 3352 | | |
3338 | | - | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
3339 | 3358 | | |
3340 | 3359 | | |
3341 | 3360 | | |
| |||
3344 | 3363 | | |
3345 | 3364 | | |
3346 | 3365 | | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
3347 | 3373 | | |
3348 | 3374 | | |
3349 | 3375 | | |
| |||
0 commit comments