diff options
| author | Chunxin Zang <[email protected]> | 2023-03-28 14:00:57 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-12 19:30:39 -0300 |
| commit | 4453deacf44615b2d45a0b5226ff132e830bd03d (patch) | |
| tree | 03ca4da6fd500ba5d864cbaf66f2e3d745330dba /tools/perf/scripts/python/flamegraph.py | |
| parent | 9efe423e4387893498e11c75207bc9a1c9121246 (diff) | |
perf sched: Fix sched latency analysis incorrection when using 'sched:sched_wakeup'
'perf sched latency' is incorrect to get process schedule latency when
it used 'sched:sched_wakeup' to analysis perf.data.
Because 'perf record' prefers to use 'sched:sched_waking' to
'sched:sched_wakeup' since commit d566a9c2d482 ("perf sched: Prefer
sched_waking event when it exists"). It's very reasonable to evaluate
process schedule latency.
Similarly, update sched latency/map/replay to use sched_waking events.
Signed-off-by: Chunxin Zang <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jerry Zhou <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions