diff options
| author | Anup Patel <[email protected]> | 2018-12-04 15:59:52 +0530 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2018-12-18 22:22:23 +0100 |
| commit | 92e0d143fdef1faa7560c93fb0d6cd6c61da88ee (patch) | |
| tree | f52b5e219877dbd0b2e646c63a1c8bbb63dde25f /tools/perf/scripts/python/flamegraph.py | |
| parent | 4f352d1fc5a8d3220e29766a26172eff34867014 (diff) | |
clocksource/drivers/riscv_timer: Provide the sched_clock
Currently, we don't have a sched_clock registered for RISC-V systems.
This means Linux time keeping will use jiffies (running at HZ) as the
default sched_clock.
To avoid this, we explicity provide sched_clock using RISC-V rdtime
instruction (similar to riscv_timer clocksource).
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions