diff options
author | Daniil Lunev <[email protected]> | 2022-08-04 06:50:34 +1000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-08-22 23:03:30 -0400 |
commit | 0f85e74756b5e85a0de6dce7d8c07f0b4e1f7726 (patch) | |
tree | 524738bf90394faf2f5b537582045836aaa62680 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | b7dbc686f60b28d0843ed572f8aa59c3e76e142b (diff) |
scsi: ufs: core: Use local_clock() for debugging timestamps
CLOCK_MONOTONIC is not advanced when the system is in suspend. This becomes
problematic when debugging issues related to suspend-resume: the timestamps
printed by ufshcd_print_trs can not be correlated with dmesg entries, which
are timestamped with local_clock().
Change the used clock to local_clock() for the informational timestamp
variables and adds mirroring *_local_clock instances for variables used in
subsequent derevations (to not change the semantics of those derevations).
Link: https://lore.kernel.org/r/20220804065019.v5.1.I699244ea7efbd326a34a6dfd9b5a31e78400cf68@changeid
Acked-by: Stanley Chu <[email protected]>
Acked-by: Avri Altman <[email protected]>
Signed-off-by: Daniil Lunev <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions