summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-08-19 18:39:50 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-08-20 05:21:10 +0300
commitcb7cc0cfb38cf50c902caadee0e0e87fc38490aa (patch)
tree77078cee8f3017af65d2669f339df1497b50ddad /tools/perf/scripts/python/libxed.py
parent6f4b10226b6b1e7d1ff3cdb006cf0f6da6eed71e (diff)
downloadlinux-cb7cc0cfb38cf50c902caadee0e0e87fc38490aa.tar.xz
scsi: ufs: core: Only collect timestamps if monitoring is enabled
Every ktime_get() call in the hot path has a measurable impact on IOPS. Hence, only collect timestamps if the monitoring functionality is enabled. See also commit 1d8613a23f3c ("scsi: ufs: core: Introduce HBA performance monitor sysfs nodes"). Cc: Can Guo <cang@codeaurora.org> Cc: Bean Huo <beanhuo@micron.com> Cc: Daejun Park <daejun7.park@samsung.com> Reviewed-by: Peter Wang <peter.wang@mediatek.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20250819153958.2255907-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions