summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@kernel.org>2020-08-07 10:48:44 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-08-13 09:34:26 -0300
commitd566a9c2d482640abf5e602957b44e7b3bbe858d (patch)
treebc1ac6e39ef71eff8e41665a7fba65d8a1ce3eee /arch
parentf9f95068266d875d1840ad90abf51773a765f41a (diff)
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 <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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions