diff options
| author | David Ahern <[email protected]> | 2020-08-07 16:48:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-08-13 12:34:26 +0000 |
| commit | d566a9c2d482640abf5e602957b44e7b3bbe858d (patch) | |
| tree | bc1ac6e39ef71eff8e41665a7fba65d8a1ce3eee /tools/perf/bench/mem-functions.c | |
| parent | perf bench: Fix a couple of spelling mistakes in options text (diff) | |
| download | kernel-d566a9c2d482640abf5e602957b44e7b3bbe858d.tar.gz kernel-d566a9c2d482640abf5e602957b44e7b3bbe858d.zip | |
perf sched: Prefer sched_waking event when it exists
Commit fbd705a0c618 ("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 <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/bench/mem-functions.c')
0 files changed, 0 insertions, 0 deletions
